1
Why do programming languages suck at math?
What's the whole reason behind distinguishing between integers and float/doubles?
units = 2
price = 3.17
2 * 3.17 = ERROR
It blows my mind that so much effort has put into things like functions taking functions as arguments, and the characteristics of classes - yet a computer can't handle basic calculator math out of the box. PHP, Ruby, Swift, OCaml.. what gives?
What is the complexity behind this?