348
4 billion if statements (andreasjhkarlsson.github.io)
you are viewing a single comment's thread
view the rest of the comments
[-] Hotzilla@sopuli.xyz 42 points 2 years ago

Could be easily made 50% space saving by only iffin all odds and return even on else. Maybe one if before to handle overflow to avoid wrong even if over the last if.

[-] Deebster@programming.dev 41 points 2 years ago

Well yeah, if you allow cheating!

load more comments (2 replies)
this post was submitted on 28 Dec 2023
348 points (97.5% liked)

Programmer Humor

33743 readers
1955 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 3 years ago
MODERATORS