3 ms·
Int as a type serves different purposes. Counting, indexing, rounding floats, exact arithmetic etc. These have completely different requirements and edge cases
by whatever1 2y ago
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.
- Y_Y 2y agoNot to mention bools, bitarrays, error codes...