461
submitted 2 weeks 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 2 weeks 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 2 weeks ago* (last edited 2 weeks 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 2 weeks 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
461 points (94.9% liked)

Programmer Humor

37539 readers
80 users here now

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

Rules:

founded 6 years ago
MODERATORS