Hacker News new | ask | show | jobs
by namelosw 1749 days ago
This is a bit of a tangent, but after I used Clojure for a while, I found the default ratio type is really neat compared to floats.

It seems to me that with modern machines, performance is not the first priority. Floats have caused too many surprising, costly, and dangerous bugs. IMO new programming languages should really consider using safer types like decimals and ratios by default, and floats are there for those who want further optimizations.