291
Infallible Code (feddit.uk)
you are viewing a single comment's thread
view the rest of the comments
[-] xxce2AAb@feddit.dk 10 points 2 weeks 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.

[-] koper@feddit.nl 4 points 2 weeks ago

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

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.

[-] xxce2AAb@feddit.dk 3 points 2 weeks ago

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

You can generate the code with a simple macro.

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

Programmer Humor

25436 readers
866 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