this post was submitted on 01 Feb 2026
814 points (98.8% liked)

Programmer Humor

29100 readers
500 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 13 points 13 hours ago

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

[–] OpenPassageways@lemmy.zip 8 points 14 hours ago
[–] palmtrees2309@lemmy.world 7 points 14 hours ago
Words.sort()
Words.map(word => word.sort())

Baby steps in functional programmings

[–] aev_software@programming.dev 17 points 18 hours ago (3 children)

A clear indication of bad requirements.

load more comments (3 replies)
[–] fell@discuss.tchncs.de 5 points 15 hours ago
[–] AeonFelis@lemmy.world 5 points 16 hours ago

Programmer? IDK. Looks kind of antigrammar to me.

[–] melsaskca@lemmy.ca 5 points 18 hours 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 4 points 18 hours ago* (last edited 18 hours ago) (4 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 (4 replies)
[–] Haaveilija@lemmy.world 3 points 19 hours ago

....................................._ Secret morse code?

[–] BillyClark@piefed.social 100 points 1 day ago (2 children)
  1. alphabet
  2. come
  3. in
  4. order
  5. the
  6. they
[–] ChaoticNeutralCzech@feddit.org 27 points 1 day ago* (last edited 1 day 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 1 day ago (1 children)

Still an error unfortunately. Should be:

  1. the
  2. bart
  3. the
[–] ShaggySnacks@lemmy.myserv.one 7 points 1 day 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 18 points 1 day 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.

[–] ChaoticNeutralCzech@feddit.org 2 points 16 hours ago

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)
[–] webpack@ani.social 3 points 20 hours 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)

[–] olenkoVD@lemmy.dbzer0.com 105 points 1 day ago (5 children)

I like how fox stays the same.

[–] TheMinions@lemmy.dbzer0.com 45 points 1 day ago (1 children)

I like how pond is backwards.

[–] degen@midwest.social 13 points 1 day ago* (last edited 1 day ago) (1 children)

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

load more comments (1 replies)
load more comments (4 replies)
[–] killabeezio@lemmy.world 12 points 1 day ago (4 children)

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

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

British spelling fixes this bug!

[–] FiskFisk33@startrek.website 2 points 20 hours ago (1 children)

it's spelled 'forty' in british english too

[–] CXORA@aussie.zone 2 points 20 hours ago

Its spelt however you can convince people to read it tbh.

load more comments (3 replies)
[–] wewbull@feddit.uk 39 points 1 day 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 44 points 1 day ago

I like this kid.

[–] aaaaaaaaargh@feddit.org 31 points 1 day ago

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

[–] AbsolutelyNotAVelociraptor@sh.itjust.works 37 points 1 day ago (2 children)

Or autistic. Most definitely autistic.

[–] excel@lemming.megumin.org 52 points 1 day ago (1 children)

OP already said programmer

[–] ILikeBoobies@lemmy.ca 7 points 1 day ago

Some become engineers.

[–] communism@lemmy.ml 1 points 19 hours ago

It might not be autism, it might be just lacking context as to what they mean. The kid is likely very young so they might not know what alphabetical order means. It's a reasonable guess given the lack of explanation in the worksheet.

[–] DarrinBrunner@lemmy.world 23 points 1 day 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 26 points 1 day ago

~~malicious~~ naive compliance

[–] WalrusDragonOnABike@reddthat.com 15 points 1 day ago (9 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.

[–] schnurrito@discuss.tchncs.de 1 points 18 hours ago

No, the answer isn't "pumpkim". :D

[–] RedStrider@lemmy.world 4 points 1 day ago

woah man, posting answers to tests online is cheating and can get you expelled!

load more comments (7 replies)
load more comments
view more: next ›