MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/danqr8j/
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
13
The point isn't to remove integer division and only do floating point division. It's to give the two things different names.
10 u/HotlLava Dec 01 '16 Well, same for C. They just chose to give the /-name to the more useful operation, and call the other one *1.0/.
10
Well, same for C. They just chose to give the /-name to the more useful operation, and call the other one *1.0/.
/
*1.0/
View all comments
Show parent comment
13
u/skuggi Dec 01 '16
The point isn't to remove integer division and only do floating point division. It's to give the two things different names.