Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Island Generator. Parent comment
Right. "Once you go float, you never go back."
Any time you need discrete operations like counting and equality, do it in integer space. Avoid going from integer space back to floating point space.
There are no comments on this comment yet.
Right. "Once you go float, you never go back."
Any time you need discrete operations like counting and equality, do it in integer space. Avoid going from integer space back to floating point space.