top | item 40830983

(no title)

necrotic_comp | 1 year ago

I go a step further on "dumb code". Write code that is easy to reason about, understand, and grok the implications of.

I spent a ton of time doing support and engineering on a trading desk, where our SLA for an outage was somewhere in the range of 30 seconds to 5 minutes. Having super simple code that makes it easy to understand what the code problem is (if not necessarily the business problem) lets you move on with life and let the business keep moving.

discuss

order

jiehong|1 year ago

For writing simple code, I often remind people that the first working code is not the one to commit. Just like a text draft is edited, once the code works, now is time to trim it and simplify it.