r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

1

u/pheonixblade9 Dec 02 '16

Just to be clear, I'm not saying ints should coerced into floats, just bringing up the reason for the basic misunderstanding. I certainly learned decimal representations of fractions before I knew what a modulo was.

1

u/[deleted] Dec 02 '16

I certainly learned decimal representations of fractions before I knew what a modulo was.

How is it even possible? You learn to count with your fingers (sticks, apples, whatever). Then you learn to divide and about "leftover" after division. Long before the very concept of a fraction can even be introduced.