460
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] 4 points 1 week 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.

[-] [email protected] 6 points 1 week ago* (last edited 1 week 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.

[-] [email protected] 6 points 1 week 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
460 points (94.9% liked)

Programmer Humor

37400 readers
25 users here now

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

Rules:

founded 6 years ago
MODERATORS