You left out the mine canary of bad code: early returns. The rest of these seem pretty elementary, advice for first-year developers. But then I’ve seen six-week Bangalore Wonders hardcode a database snapshot as an array of data structures. I’m not joking.

And any formatting counsel that omits vertical alignment is useless. Nothing does more to enhance legibility.

American Software Developer living in Vietnam. Classical musician (guitar, woodwinds), weightlifter, multilingual, misanthrope • XY

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store