HN Hall of Fame Weekly email

1/0 = 0

www.hillelwayne.com Essays & writing Essays & articles Mathematics & science Candidate
Screenshot of www.hillelwayne.com captured 2026-07-20
Page preview · captured 2026-07-20

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

submissions
4
submitters
4
observed span
2018–2024
peak thread · 570 comments
650 pts
latest 20+ return · 2024-12-01
135 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

My problem with "1/0 = 0" is that it's essentially masking what's almost always a bug in your program. If you have a program that's performing divide-by-zeroes, that's almost surely something you did not intend for. It's a corner case that you failed to anticipate and plan for. And because you didn't plan for it, whatever result you get for 1/0 is almost surely a result that you wouldn't want to have returned to the user. When encountering such unanticipated…

whack·650-point thread·

I debated this with my boss at my first programming job (this was 20+ years ago). He thought 1/0 should be 0 rather than an error because "that's what people expect". My argument was from mathematical definitions (the argument which this blog post picks apart). In retrospect, I see his point better - practical use trumps theory in most language design decisions. I haven't changed my mind but the reason has shifted more toward because "it's what a larger set…

sethev·135-point thread·

In my language, division isn't closed. The type of x/y is maybe<double> because when you do shenanigans of defining division as a different operator than multiplying by the multiplicative inverse, your code sucks.

What is in your opinion the best way to return from a division by zero * Infinity * Throw Error * 0 * Something else I wanted to submit this as an ask hn, and share the url that suggest the 0 answer, but I sort of failed

systems·2-point thread·

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
795

reference only — not used in Hall rules or ranking

Total comments
812

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2018-08-101/0 = 0First breakout · Best threadingve650570
2024-04-30What is the best answer to divide by 0systems23
2024-11-171 / 0 = 0 (2018)Aaronmacaron88
2024-12-011/0 = 0 (2018)Latest 20+ point returnrevskill135231