this post was submitted on 15 Jul 2025
439 points (94.7% liked)

Programmer Humor

38839 readers
310 users here now

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

Rules:

founded 6 years ago
MODERATORS
(page 3) 45 comments
sorted by: hot top controversial new old
[–] tulliandar@lemmy.world 2 points 3 months ago (1 children)

Why is it all in italics?! I’d reject the PR just for that. Otherwise LGTM

load more comments (1 replies)
[–] jerkface@lemmy.ca 2 points 3 months ago (1 children)

what's the humour supposed to be

[–] dwindling7373@feddit.it -1 points 3 months ago* (last edited 3 months ago) (7 children)

It's a common challenge, such as in interviews, to write code that can return if a number is even or odd.

load more comments (7 replies)
[–] DrunkAnRoot@sh.itjust.works 2 points 3 months ago

this is like the making chess one

[–] 6stringringer@lemmy.zip 2 points 3 months ago

Thanks to goodness, finally. A (giggle & snort) solid algorithm. There ya’s go set yer clocks & go get a haircut.

[–] helvetpuli@sopuli.xyz 2 points 3 months ago

Oh. I thought that was Elixir until I zoomed in.

[–] Valmond@lemmy.world 1 points 3 months ago
[–] CanadaPlus@lemmy.sdf.org 1 points 3 months ago* (last edited 3 months ago)

deleted by creator

[–] WraithGear@lemmy.world 1 points 3 months ago* (last edited 3 months ago) (4 children)

Would this be a case of modulo saving the day?

Like: If Number modulo 2 = 0, true

This has to be taken out of context

load more comments (4 replies)
load more comments
view more: ‹ prev next ›