News for hackers. Stuff that matters.
Re:Fintech engineering mistakes by fvdessen on Wednesday June 28, 2023 @11:11AM (#36507621)
you can also easily hurry up subtly wrong money math with ints. (overflows, wrong rounding method, etc). So you should not in any case use the default math operators
Re:Fintech engineering mistakes by lightbendover on Wednesday June 28, 2023 @03:44PM (#36511601)
At least with ints you can capture those issues with intent and handle them properly (as the better libraries that handle money tend to do).