this post was submitted on 01 Feb 2026
1018 points (98.9% liked)

Programmer Humor

29320 readers
2181 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] CidVicious@piefed.zip 16 points 1 day ago

Completely misunderstanding the requirements? Yeah that's a dev alright.

[–] aev_software@programming.dev 22 points 1 day ago (3 children)

A clear indication of bad requirements.

load more comments (3 replies)
[–] OpenPassageways@lemmy.zip 12 points 1 day ago
[–] palmtrees2309@lemmy.world 8 points 1 day ago
Words.sort()
Words.map(word => word.sort())

Baby steps in functional programmings

[–] AeonFelis@lemmy.world 7 points 1 day ago (1 children)

Programmer? IDK. Looks kind of antigrammar to me.

[–] Sculptor9157@sh.itjust.works 1 points 1 day ago

An amateurgrammar, if you will.

[–] olenkoVD@lemmy.dbzer0.com 141 points 2 days ago (2 children)

I like how fox stays the same.

[–] TheMinions@lemmy.dbzer0.com 58 points 2 days ago (1 children)

I like how pond is backwards.

[–] degen@midwest.social 15 points 2 days ago* (last edited 2 days ago) (1 children)

Eirrv is such a better word for river that I'm retconning the English language

[–] TheMinions@lemmy.dbzer0.com 9 points 2 days ago

Feels like some new age Sindarin. I’m here for it tbh.

[–] nialv7@lemmy.world 13 points 2 days ago (4 children)

i wonder how many words are like that

[–] schnurrito@discuss.tchncs.de 3 points 1 day ago (1 children)

If you're on this sub, this is a good programming exercise for you if you're interested. I'm sure there are plenty of large lists of words in English, that should provide all the data needed.

[–] psud@aussie.zone 1 points 39 minutes ago

There are massive lists, the search is English words corpus

https://www.english-corpora.org/ is an excellent starting place

load more comments (3 replies)
[–] BillyClark@piefed.social 121 points 2 days ago (2 children)
  1. alphabet
  2. come
  3. in
  4. order
  5. the
  6. they
[–] ChaoticNeutralCzech@feddit.org 33 points 2 days ago* (last edited 2 days ago) (2 children)

FTFY:

5. the
6. the

The alphabet provided ends with X. However, you apparently remove duplicates so maybe just cross out the last row?

[–] conorab@lemmy.conorab.com 17 points 2 days ago (1 children)

Still an error unfortunately. Should be:

  1. the
  2. bart
  3. the
[–] ShaggySnacks@lemmy.myserv.one 12 points 2 days ago (5 children)

We really should stick with the orginal German verision.

  1. Die
  2. Bart
  3. Die
load more comments (5 replies)
[–] BillyClark@piefed.social 20 points 2 days ago (1 children)

One important skill for school is to look at the entire question so that you can understand what the teacher is asking for, even if they don't format the question exactly right.

In this case, your answer would not fit into the 6 spaces provided for the answer.

So you have to ask yourself what they meant by "Write the following words". Since "the" is the same word repeated twice, once you've written "the" after 5, then I could argue that "the" has already been written.

Therefore, if there are only six blanks for the answer, looking at the entire question, I argue that the answer I provided is most likely correct.

You'll satisfy the teacher as often as possible and get good grades. I want to feel right as often as possible, which means I'll disrupt the class often and get called out during the parents-teachers meeting.

load more comments (1 replies)
[–] fell@discuss.tchncs.de 5 points 1 day ago
[–] melsaskca@lemmy.ca 7 points 1 day ago (1 children)

I like it. He didn't meet the assignment but he proved his knowledge. Now to see if they mark on knowledge learnt or subjugation.

[–] wpb@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (7 children)

They did fail to demonstrate knowledge of lexicographical order, which this exercise seems to be aiming for with the inclusion of pond and pumpkin, so I think it's a bit cynical to consider failing the student on this a means of opression or subjugation.

load more comments (7 replies)
[–] wewbull@feddit.uk 52 points 2 days ago (4 children)

The question is poorly worded. It asks for words in the order they come in the alphabet. Words aren't in the alphabet. Letters are in the alphabet, so they reordered the letters.

load more comments (4 replies)
[–] floofloof@lemmy.ca 53 points 2 days ago

I like this kid.

[–] AbsolutelyNotAVelociraptor@sh.itjust.works 48 points 2 days ago (2 children)

Or autistic. Most definitely autistic.

[–] excel@lemming.megumin.org 64 points 2 days ago (1 children)

OP already said programmer

[–] ILikeBoobies@lemmy.ca 10 points 2 days ago

Some become engineers.

load more comments (1 replies)
[–] aaaaaaaaargh@feddit.org 33 points 2 days ago* (last edited 2 days ago)

With more than three repetitions of the same algorithm the kid should've been automating the process.

[–] killabeezio@lemmy.world 16 points 2 days ago (4 children)

Forty is the only number when spelled out that is in alphabetical order

[–] CXORA@aussie.zone 10 points 1 day ago (3 children)

British spelling fixes this bug!

load more comments (3 replies)
load more comments (3 replies)
[–] DarrinBrunner@lemmy.world 30 points 2 days ago

It makes sense if not taught the conventions of alphabetizing first. Kids don't know what they don't know.

Mr. Rogers understood this on a deep level.

[–] 5715@feddit.org 29 points 2 days ago

~~malicious~~ naive compliance

[–] WalrusDragonOnABike@reddthat.com 18 points 2 days ago (10 children)

In case anyways else looked for the comments to try to figure out what was done wrong, the expected answer would be: apple, fox, log, pond, pumpkim, river.

[–] psud@aussie.zone 1 points 35 minutes ago

Are you sure? Apple is crossed out (presumably as a hint to cross them out as you add them to the list)

load more comments (9 replies)
[–] webpack@ani.social 3 points 1 day ago

list.toSorted() vs list.map(word => word.toSorted())

(note that you can't actually do string.toSorted() in js you have to convert into a list and back)

load more comments
view more: next ›