Skip to content

Instantly share code, notes, and snippets.

@brikis98
Created May 3, 2014 08:23
Show Gist options
  • Select an option

  • Save brikis98/c4180e793ae32d1a4dfb to your computer and use it in GitHub Desktop.

Select an option

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
//
// 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
//
@mrbeastreact11-ui
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment