News for hackers. Stuff that matters.
Re:The Evil Within the Comparison Functions by montrose on Sunday February 18, 2018 @11:28AM (#16406747)
"In most cases programmers make an error in the last line of similar text blocks."

I've noticed something similar in prose. When there's a sentence in a paragraph that should be cut, it's disproportionately often the last one. I've seen this in my own writing and in other people's. Interestingly, it's particularly noticeable in the writing of Wodehouse; these bad final sentences are one reason his later stuff is not quite as good.

Re:The Evil Within the Comparison Functions by pavel_lishin on Sunday February 18, 2018 @05:12PM (#16409079)
Taking this heuristic to its ultimate conclusion, one should trim writing until nothing remains.

(I should have followed that heuristic in this comment.)

Re:The Evil Within the Comparison Functions by OtterCoder on Sunday February 18, 2018 @05:14PM (#16409100)
Trim until the idea to be conveyed disappears. Then ctrl-z once.
Re:The Evil Within the Comparison Functions by Sharlin on Sunday February 18, 2018 @05:18PM (#16409135)
”Everything should be made as simple as possible, but no simpler.”

—Unknown, attributed to Einstein

Re:The Evil Within the Comparison Functions by tjalfi on Sunday February 18, 2018 @08:31PM (#16410120)
Years ago (2005), there was a Java tool called Guantanamo[0] that would delete or comment out code that is not covered by unit tests.

[0] https://github.com/codehaus/ashcroft/tree/master/guantanamo