Hacker News new | past | comments | ask | show | jobs | submit login

Int as a type serves different purposes. Counting, indexing, rounding floats, exact arithmetic etc.

These have completely different requirements and edge cases. It was a mistake trying to tackle all of these with a singular type.




Not to mention bools, bitarrays, error codes...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: