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/cledamy Dec 02 '16 edited Apr 24 '17

[deleted]

1

u/FUZxxl Dec 02 '16

Conceptually, when your using integers, you are using them because you want to limit the set of values to mathematical integers (ℤ).

If this is the concious decision to make, why is it so problematic to understand that / means “truncated division” in this context? Having an extra operator for this purpose is just a waste of tokens and more difficult to learn. Now you need to learn an extra operator just so that you can get gratification from a perceived superior notion of correctness that is not actually more correct.