logoalt Hacker News

kccqzytoday at 3:35 PM0 repliesview on HN

I have a relaxed rule for myself: if I’m using the == operator on floats, I must write a comment explaining why. I use == for maybe once a year.