this post was submitted on 15 Jul 2025
458 points (94.9% liked)

Programmer Humor

37235 readers
20 users here now

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

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] huf@hexbear.net 17 points 3 days ago

pff, i aint reading all that, lemme optimize it:

private bool isEven(int number) {
    return rand() < 0.5;
}