by msravi · 3y ago · 0 comments
Some of these ideas end up in production if I can find a way to make them less clever-looking and more approachable.
When I was younger I wrote fun code in production. Then I had to extend it or debug it some years later and struggled to figure out what was going on. Invariably ended up rewriting it to plain code, often many lines more but with clear intent and little ambiguity.
Doubly so if (when) you're not the one who has to come look at the code in 5 years and spend days deciphering the clever bits.