korrents

korrents · piece

Write Stupid Code

Thorsten Ball · 22 Oct 2015 · thorstenball.com

3 korrents from this piece

Thorsten Ball did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. But there are a lot more cases in which meta-programming is unnecessary and additional baggage on top of the solution, which gets in the way of understanding what the code is supposed to do.
  2. A lot of complex, "look at this clever trick", overly-abstracted, unreadable code works and makes the tests pass.
  3. Not every elegant solution is straightforward, but "stupid" ones are, per definition, and can also be elegant.