You post a list of the best comments on HN without putting The Wisdom of Bane on the list? Seriously, how did The Wisdom of Bane not make it one here? That is one of the best comments on all of HN. For the uninitiated: https://news.ycombinator.com/item?id=8902739
Heh, I prefer to refer to that whole comment as Bane's Rule. I have had many interesting discussions with IT managers face to face after having them read that, especially regarding the idea of having vendors show that their product beats out the current system. For programmers, I think one of the key takeaways from that comment is not the clever coding, but the direct tie into business results from the coding. Not ju…
It's common sense, but it's rare to actually follow it.
Actually, I'm guilty of this myself. I was finishing last year's Advent of Code, and was given a problem which I tried to optimize, as I assumed the naive approach would be too slow. Then I realized I was trying to optimize Travelling Salesman, so I bit the bullet and went for the O(n!) solution. And it ran in less than a second. In interpreted scheme, no less.
I felt kind of silly later.