Tag Archives: coding

Brace placement

Since the C language appeared in the 70’s, holy wars have been raged about how the code should be formatted.  Since then, these disputes have inherited also to languages borrowing the C-esque language style, such as Java, JavaScript and C#. … Continue reading

Posted in Coding, Style | Tagged , | Leave a comment

When to hard-code

Hard-coding is generally considered an anti-pattern and abhorred by experienced developers. Input and configuration data should be externalized from the code, or at the very least parametrized to a language constant. While working at Wellmo, I’ve come to reconsider this … Continue reading

Posted in Coding | Tagged | Leave a comment