Re:Macros on Steroids: How pure C can benefit from metaprogr...
by tpoacher on Friday July 23, 2021 @05:25AM
(#27928790)
Simplicity is elegance.
Re:Macros on Steroids: How pure C can benefit from metaprogr...
by nomel on Friday July 23, 2021 @02:52PM
(#27934308)
"Simplicity" is also not well defined, and seems to be very very different for a novice or more advanced coder. Many seem to think fewer lines of code means simpler, or chaining 20 lines/calls is clearer than temporary variables, or use lambdas everywhere is better since function definitions are harder to grok. From my experience, elegance is often something very clever, and elegant by definition, but also nearly impossible to understand.
So, I guess "simplicity in understanding".
Early on in my programming career, I implemented all sorts of beautiful magic, but I was alone. Later, I realized that beautiful magic was keeping me alone. Now, much later in my career, I program mostly like a novice. I don't write clever code, I unroll powerful one liners into boring for loops, and I use all sorts of temporary variables to make intent perfectly clear, because I want and need as much help as I can get. Confusing contributors for some wanky obsession with "terseness" or "elegance" is a good indication of either a great team, or someone that works alone.