5 ms·
Related quote: Code never lies, comments sometimes do. - Ron Jeffries (says clojure-emacs/cider)
by dmichulke 10y ago
Related quote:
Code never lies, comments sometimes do.
- Ron Jeffries (says clojure-emacs/cider)
- asah 10y agoROFL. I get the sentiment... but respectfully disagree: code lies all the time. To make a few... - misleading function/variable names - improperly captured errors/exceptions - improperly structured locking/concurrency - code that's overly complex or naively simplistic eg naively insecure.
- dahart 10y agoThis is a great point, code is often very messy, and often misleading the way it's written, and often has bugs. But, fwiw my reaction to your first line is that to announce your disagreement is to not get the sentiment of the quote. What he meant was that code is executed and comments are not. When he said "code never lies" he meant that if your code is buggy, then the bugs will be experienced by users. So your point is actually orthogonal to the point being made, and doesn't either refute or support the quote.