3 ms·
> Right now Javascript specifically is to blame Nah. JS is particularly bad on this point, but every language that has not been a special purpose langauge for
by dragonwriter 7y ago
> Right now Javascript specifically is to blame
Nah. JS is particularly bad on this point, but every language that has not been a special purpose langauge for the narrow domains where float-first makes sense that has made the premature optimization of defaulting decimal literals with fractional parts to floats and/or not providing language level arbitrary-precision decimal and rational types—which is a lot of languages, many more broadly influential than JS (C, for one) are too blame.