4 ms·
Again, you are assuming that I mean "overcomplicated code" when I say "clever". To me, clever code is meant to be readable. Sometimes a recursion is more readab
by palata 3y ago
Again, you are assuming that I mean "overcomplicated code" when I say "clever". To me, clever code is meant to be readable. Sometimes a recursion is more readable, sometimes it is not.
I am just saying that the choice of what is "overcomplicated" comes to the maintainer. My project, my rules. If you don't want me to use lambdas in the project you maintain, that's your choice (and it is my choice to contribute or not). I just don't agree when people say "don't use tertiary operators ever, because I don't like them".
Interestingly, I go further than you: good code to me mostly doesn't need comments. Comments are there for the more complicated parts, but most code should be readable as-is. I guess we mostly disagree on what is too complicated :).