297
Infallible Code (feddit.uk)
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 12 points 1 week ago

Pah, mathematicians and their generally applicable pure approach to solutions and fancy modulus operations, who needs 'em? Computing is applied and we always work with well-defined finite precision. Granted, writing the boilerplate for all possible 64 bit integers is a bit laborious, but we're programmers! That's what code generation is for.

[-] [email protected] 4 points 1 week ago

If it works it works. You mathematicians just don't understand the pragmatics. What is tech debt?

[-] [email protected] 2 points 1 week ago

Granted, writing the boilerplate for all possible 64 bit integers is a bit laborious,

I've been trying to figure out roughly how many lines of code that would equal out to but I've run out of fingers.

[-] [email protected] 3 points 1 week ago

Ah, common issue. When that happens, you just start using your toes.

[-] [email protected] 2 points 1 week ago

You can generate the code with a simple macro.

this post was submitted on 15 Jul 2025
297 points (100.0% liked)

Programmer Humor

25246 readers
978 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 2 years ago
MODERATORS