News for hackers. Stuff that matters.
Re:Writing good code: how to reduce the cognitive load of yo... by TallGuyShort on Tuesday March 07, 2017 @04:06PM (#13814888)
One of the most valuable things I got from university was my professor's saying, "When somebody tells you your code is clever or interesting, that's an insult."
Re:Writing good code: how to reduce the cognitive load of yo... by TeMPOraL on Wednesday March 08, 2017 @05:09AM (#13819244)
And in my experience, like most insults, this usually says more about the person saying it than about your code.
Re:Writing good code: how to reduce the cognitive load of yo... by AstralStorm on Wednesday March 08, 2017 @01:12AM (#13818333)
Unless it is an interesting algorithm or contains well documented optimizations. (with reasons for them, preferably grounded in measurements)

Rules of thumb only go as far as your thumb. Sometimes a clever abstraction makes everything clean and obvious, as opposed to a dumb abstraction.