this post was submitted on 17 Sep 2023
429 points (96.5% liked)

Programmer Humor

19723 readers
83 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (1 children)

Even then that can contain bugs on large amounts.

[–] [email protected] 12 points 1 year ago (1 children)

You're telling me there's someone that has more than 20 million dollars? /s

If you're handling people's money you should probably be using arbitrary-precision arithmetic. I mean, you might get away with a long int, but finance is serious business and the amount of data you're going to be processing relative to your funding is probably going to be small.

[–] [email protected] 1 points 1 year ago

Not the project I was thinking about above, but at work my team delivered software handling 13 digit numbers, but that's in COBOL which does fine with money