HN Hall of Fame Weekly email

What is the best comment in source code you have ever encountered? (2011)

stackoverflow.com Essays & writing Forum discussions Software engineering Candidate
Screenshot of stackoverflow.com captured 2026-07-20
Page preview · captured 2026-07-20

The originally submitted URL now redirects to the address above. Updating the destination does not change the item’s HN history, Hall membership, or rank.

Resurfaced independently across 13 calendar years, with breakout response in 2 of them.

submissions
22
submitters
22
observed span
2009–2025
peak thread · 95 comments
157 pts
latest 20+ return · 2013-09-19
157 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

In a unit test: # And what father is there among you, who, # if his son asks for a slice of bread, # will offer him a stone? # or if he asks for a fish, # will instead of a fish offer him a snake? my $fish = 'one-fish two-fish red-fish blue-fish'; my $snake = 'oooh! a snake! ooh! snake! ooooooooo!"; (Unit test proceeds to insert both $snake and $fish into a cache object, does a little bit…

loop ... ... // sleep 10 sleep 7 // Changed from "sleep 10" on 11-19-05 // by jvj because Bruce in Buffalo bitched // that it ran too long. Now he's happy. // The next time he bitches, change it to // "sleep 5". That oughta buy us another // year before we have to rewrite it. ... ... until done do repeat

edw519·127-point thread·

Linux driver >"Do not purchase this card, even as a joke." https://elixir.bootlin.com/linux/v3.1/source/drivers/net/3c5...

rasz·19-point thread·

This one is by far the best: 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 = 16

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
356

reference only — not used in Hall rules or ranking

Total comments
162

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2009-04-09What is the best comment in source code you have ever encountered?blackswan102
2010-08-23What is the best comment in source code you have ever encountered?jyothi23
2010-09-17What is the best comment in source code you have ever encountered?First breakouttszming12746
2011-05-20Best comments in source codejanektm101
2012-11-27Best comments in source codexoail20
2013-03-15What is the best comment in source code you have ever encountered? [closed]vishal012320
2013-08-22Weird comments in source codetechaddict00920
2013-08-27Funniest Source code commentspknerd20
2013-09-19What is the best comment in source code you have ever encountered? (2011)Best thread · Latest 20+ point returnyammesicka15795
2015-03-21Best comments in source codeankitraturi10
2016-01-11What is the best comment in source code you have ever encountered?MrBra10
2016-10-10What is the best comment in source code you have ever encountered?dsego10
2018-01-13Closed as non constructive – Best comments in source code according to SO (2011)bjornroberg51
2018-07-28What is the best comment in source code you have ever encountered?tosh21
2019-04-21What is the best comment in source code you have ever encountered? (2008)giancarlostoro30
2019-10-24What is the best comment in source code you have ever encountered?cryptography20
2020-01-02What is the best comment in source code you have ever encountered?davedx20
2020-01-17What is the best comment in source code you have ever encountered?zavg10
2021-01-23What is the best comment in source code you have ever encountered? (2011)max1054110
2021-10-08What is the best comment in source code you have ever encountered?_valeria_1910
2023-12-18What is the best comment in source code you have ever encountered?maxwellito22
2025-12-31What is the best comment in source code you have ever encountered? (2011)chistev21