Submission timeline
2007–2026One 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 orderAll linters and C compilers emit a warning when an assignment is made in a condition. There are zero reasons to use that ugly and unnatural Yoda notation in 2019.
One of the best bugs I've ever seen was in the game Dungeon Crawl Stone Soup. It's a roguelike, and a venerable old one at that, so the codebase is quite tangled and convoluted, with logic for everything in every corner. One of the worshippable gods in the game is Xom, god of chaos, whose effects are just as likely to kill their worshipers as to help them (frustrating for those who might actually want to win, but always good…
I use Xcode for development and it already warns against assignment within conditions[0]. gcc also warns against it[1]. Python just errors out all together[2]. I don't have my Windows instance up with Visual Studio but I'm fairly certain that it too notifies you of assignments within conditions. So the question is, why would you sacrifice readability to help solve a non-issue? [0]https://www.dropbox.com/s/sjtefd55mwigq3y/Screenshot%202014-... [1]https://www.dropbox.com/s/yx01tdeykpkespv/Screenshot%202014-…
There is a fantastic list of similar jargon: https://blog.codinghorror.com/new-programming-jargon/ At work, we reference these all the time, especially the Ninja comments and the Heisenbugs.
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
- Total points
- 235
- Total comments
- 192
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2013-09-26 | Yoda conditions | rhapsodyv | 2 | 0 |
| 2014-03-10 | Yoda conditions | z0a | 9 | 4 |
| 2015-01-14 | Yoda conditions | franzpeterstein | 3 | 0 |
| 2016-08-18 | Yoda conditions | duck | 2 | 0 |
| 2017-02-17 | Yoda ConditionsFirst breakout | sloankev | 76 | 79 |
| 2018-08-10 | Yoda conditions | based2 | 1 | 1 |
| 2019-08-15 | Yoda conditionsHall induction · Best thread · Latest 20+ point return | tosh | 133 | 104 |
| 2021-02-17 | Yoda Conditions | reacht | 3 | 0 |
| 2023-01-30 | Yoda Conditions | superjan | 6 | 4 |
