Oddbean new post about | logout
 @ed709062 

Most of these idioms have a kernel of truth to them but if you hyperfocus on the literal or metric implication it becomes an example of https://en.wikipedia.org/wiki/Goodhart's_law

"engineer time is more expensive than CPU time" => https://xkcd.com/1205/

"good code is self-documenting" should encourage well-named methods and variables.

But all of these can be taken to an extreme, saying no comments or don't optimize or strictly following a pattern, without understanding why.

https://en.wikipedia.org/wiki/Don%27t_throw_the_baby_out_with_the_bathwater