|
|
|
|
|
by jghn
1013 days ago
|
|
I always think of Rich Hickey's "Simple Made Easy" [1] At the time I had a coworker who was militant about "simple code" and anti "complexity". I used to argue that the code they preferred was more of a pain in the butt due to avoiding anything beyond the most basic of constructs. They saw that this was a talk, suggested our team watch it, and then became upset because it turned out they hadn't actually watched it and assumed based on the title that it'd back up their viewpoints. Lowest common denominator coding isn't the same thing as avoiding complexity. |
|
The thing is, complexity & complications come from known-unknowns and unknown-unknowns.
Semantics of language use doesn't fit in there unless it's undefined behaviour. Things can be hard to read, but that's seperate from complexity.
And often the "simple, trivial code" is the slowest performance (which is a big deal in python)