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

Programmer Humor

37355 readers
30 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) 50 comments
sorted by: hot top controversial new old
[–] Randomgal@lemmy.ca 3 points 1 week ago

Yeah but did you know he worked for Blizzard tho

[–] keepcarrot@hexbear.net 3 points 1 week ago

I want to assess coders by lines written! The more the better!

[–] tulliandar@lemmy.world 2 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] helvetpuli@sopuli.xyz 2 points 1 week ago

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

[–] Packet@hexbear.net 2 points 1 week ago

The end user yearns for their machine to be utilized fully, so instead of that, you can import full deepseek model to do the task

[–] dsilverz@calckey.world 2 points 1 week ago (1 children)

@sirico@feddit.uk

private bool isEven(int number){
    	bool result = true;
    	while (number > 0){
    		number = number - 1;
    		if (result == true)
    			result = false;
    		else
    			result = true;
    	}
    	return result;
    }

(P.S.: Only works for positive numbers)

load more comments (1 replies)
[–] DrunkAnRoot@sh.itjust.works 2 points 1 week ago

this is like the making chess one

[–] 6stringringer@lemmy.zip 2 points 1 week ago

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

[–] jerkface@lemmy.ca 2 points 1 week ago (8 children)

what's the humour supposed to be

load more comments (8 replies)
[–] WraithGear@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (1 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

[–] queueBenSis@sh.itjust.works 3 points 1 week ago (3 children)

well that’s the joke, isn’t it

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