IF you can keep your curly braces when all about you Are losing theirs and blaming bugs on you, If you can write symmetrical code branches, And eliminate the duplication that they reveal; If you can remain positive in your conditions, And know when to switch to a switch, And when to eliminate branching with […]
You can subscribe to the clean code tag micro-feed.
Every programmer is going to one day find a bit of code that they don’t like. There are many immediate reactions, such as swearing, laughing or pasting the code into an email to the Daily WTF – but what should you do once you’ve regained your composure? Not everyone can write clean code yet, so […]