Tag: code quality
-

Taste Your Own Soup
Imagine this scenario: A restaurant cook learned from their grandmother the secret of her tasty soup. “Always put a tablespoon of salt in your soup”. And so they follow the advice, every day, no exception – and the customer reviews are, well, not great. “Disgusting”, says a food critic in…
-

Code Review: Common Beginner Mistakes
After a long time, I once again did a few code reviews on Code Review Stack Exchange. One of them (a beginner’s implementation of a rock-paper-scissors game) stuck out, since it contained many of the typical rookie mistakes I see in code from newcomers (although, some of them even in…
-

On Line Length Limits
At the beginning of a new project, when the team (or the team lead) chooses a coding style, a common approach is to use a popular style guide for the programming language and make one or two minor adjustments. Like, for example, using Google’s Java style guide, but with 4…
