3 ms·
I wish high level languages (specifically python) would default to using decimal, and only use a float when cast specifically. From what I understand that woul
by dec0dedab0de 7y ago
I wish high level languages (specifically python) would default to using decimal, and only use a float when cast specifically. From what I understand that would make things slower, but as a higher level language you're already making the trade of running things slower to be easier to understand.
That said, it's one of my favorite trivia gotchas.