Hacker News new | ask | show | jobs
by kccqzy 92 days ago
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.