Beauty And The Beast

I was recently interviewed for a new contract. One of the questions I was asked was this: which would I say was more important: beautiful code or a good, polished UX. I found it to be a very important question. Paraphrasing, this was my answer: Beauty is in the eye of the beholder. We shouldContinue reading “Beauty And The Beast”

What Else?

As software developers, one tool at our disposal, in almost any language, is a switch expression. It comes in many forms: switch, case, when… They are all fundamentally the same. Given a value of an enumerated type, it defines the code behavior for each such possible value. In Clean Code, Uncle Bob suggests we makeContinue reading “What Else?”

Nice and Tidy

Appearance matters. I noticed that when I let myself go and don’t bother with tidying up, it has a snowball effect. What starts as a cup left on the coffee table soon becomes a messy home. The same is true for code. If I don’t keep a high bar, soon enough the whole thing isContinue reading “Nice and Tidy”

Legacy Code

What is legacy code? I was asked this question in an interview for a contract once. I answered that all code, once written, is immediately legacy code. I got that contract. I still believe this to be the case. Any developer worth their salt never stops learning. This means yesterday’s code is inevitably not asContinue reading “Legacy Code”