Hacker News new | ask | show | jobs
by ashkankiani 29 days ago
Never use unsigned values as your loop counter variables if you can help it. It is way too easy to underflow, and no one needs to iterate more than 2^31 or 2^63 times. You will die before exhausting int64.