logoalt Hacker News

beanjuiceII • 10/12/2024 • 1 reply • view on HN

I'm with you on this for sure, seems dangerous to just use 0 how will anyone know something is going wrong?


Replies

throwawaymaths • 10/12/2024

No it's fine. The 0 will just propagate to other divide by zeros and you'll always have an answer, so it's all good.