464
submitted 2 months ago by sirico@feddit.uk to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] ferric_carcinization@lemmy.ml 4 points 2 months ago

I hope that the language's ints are at most 32 bits. For 8 bits it could even be written by hand & the source code for a 32 bit version would only take up avg_line_len * 4GiB space for the source code of the function. But it might take a bit of time to compile a version that supports the full range of 64 or 128 bit ints.

[-] Patches@ttrpg.network 8 points 2 months ago* (last edited 2 months ago)

My mate, Paul, says all numbers after 700 repeat so we can stop there.

We just give them different names so you think they're going up.

[-] segfault11@hexbear.net 6 points 2 months ago

all you have to to is throw an exception if the number is bigger than 100, who even needs numbers that big anyways?

this post was submitted on 15 Jul 2025
464 points (94.8% liked)

Programmer Humor

38541 readers
258 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS