Re:John Carmack on Inlined Code (2014)
by m0zg on Tuesday January 22, 2019 @03:06AM
(#18966764)
Good code is like a good book, it's written to be read. A lot of people don't get that. Small single-use functions are like footnotes.
[ Parent
| on HN ]
... and maximizing entropy makes for a terrible read. Good code, like child poetry, should be allowed to rhyme.
Fully agree with you.
The problem is many people don't know how to read code properly: they try to read all the details at once, instead of surfing at the top level(s) and going deeper only when they actually need. Such people are the bad developers who write bad code bacause they cannot read.
My personal mantra with copy&past while programming is: if your mouse gave you a little electric shock on pasting, would you paste it anyway?