Created
May 3, 2014 08:23
-
-
Save brikis98/c4180e793ae32d1a4dfb to your computer and use it in GitHub Desktop.
One of the best comments from the StackOverflow discussion "What is the best comment in source code you have ever encountered?" http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Dear maintainer: | |
| // | |
| // Once you are done trying to 'optimize' this routine, | |
| // and have realized what a terrible mistake that was, | |
| // please increment the following counter as a warning | |
| // to the next guy: | |
| // | |
| // total_hours_wasted_here = 42 | |
| // |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Man, that "total_hours_wasted_here" counter is way too real. I think every developer has a '42-hour' horror story where they tried to be a hero and ended up breaking everything. It’s such a good reminder that sometimes, the simplest version is actually the best one.
Honestly, I’ve started applying that same "keep it simple" rule to everything else in my life too. I got so tired of messing around with buggy streaming setups and constant server errors that just wasted my downtime. Now I just use Xuper TV because it actually works without the headache. It’s nice to have one thing that doesn't need a warning counter next to it! Thanks for the laugh, I’m definitely sharing this with my team.