this post was submitted on 08 Feb 2025
189 points (93.2% liked)

Programmer Humor

20429 readers
2458 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 29 comments
sorted by: hot top controversial new old
[–] m33@theprancingpony.in 1 points 9 hours ago
[–] NegativeLookBehind@lemmy.world 55 points 3 days ago* (last edited 3 days ago) (1 children)

Here's a Malbolge print statement:

('&%:9]!~}|z2xwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)

Good luck.

EDIT: I think I gave ChatGPT an aneurysm

[–] TeamAssimilation@infosec.pub 40 points 3 days ago (1 children)

A language from and for assholes, very human.

[–] Tja@programming.dev 17 points 3 days ago (1 children)

Much letters, great verbosity, the design is very human.

[–] caseyweederman@lemmy.ca 5 points 3 days ago

Easy to use.

[–] supersquirrel@sopuli.xyz 51 points 3 days ago (3 children)

No they are not, some are made for obtuse assholes by obtuse assholes.

[–] brianary@startrek.website 53 points 3 days ago (1 children)

What could be more human than that?

[–] supersquirrel@sopuli.xyz 27 points 3 days ago

Condescendingly always saying you are too busy doing important things to write good documentation.

[–] Cenzorrll@lemmy.world 5 points 3 days ago

Brainfuck comes to mind

[–] RandomVideos@programming.dev 9 points 2 days ago

What about chicken? That programming language is clearly written for chickens

Whitespace is obviously written for space, not for humans

[–] muntedcrocodile@lemm.ee 29 points 3 days ago (2 children)

So why did we do such a bad fucking job

[–] Rednax@lemmy.world 9 points 3 days ago (1 children)

Do you mean that programming languages are hard to read/write, or that the languages themselves are poorly designed?

In the former case, I invite you to read machine code. Not assembly, but straight machine code. Just zeros and ones as far as the editor can see. Any popular language is better than that.

In the latter case, I invite you to look at the design of an arbitrary natural language. Weird grammer rules, regional differences, loan words that don't fit in, etc. No programmming language is worse than that. Although I would argue that Javascript has all of those problems too in some degree.

[–] muntedcrocodile@lemm.ee 0 points 3 days ago (3 children)

I mean that they are poorly designed. And year regular languages are just as badly designed. I'd say c++ is just as bad as javascript tbh.

[–] Semi_Hemi_Demigod@lemmy.world 1 points 9 hours ago (1 children)

Go, Ruby, and Python are all pretty great

[–] muntedcrocodile@lemm.ee 1 points 5 hours ago (1 children)

I do really love python. Just wish they did stronger typing.

[–] Semi_Hemi_Demigod@lemmy.world 1 points 1 hour ago

If that's the case I highly suggest you check out Golang. It's got strict types like Java but it's a lot more intuitive and expressive than either Java or C#.

My favorite language is Ruby, for those same reasons, but Go would be a better fit for someone who likes strong typing with a certain je ne sais qoui.

[–] magic_lobster_party@fedia.io 3 points 2 days ago

C++ is just an exceptionally badly designed language.

The weakness of C++ is that it attempted to be backwards compatible with C. It’s like it’s trying to be two programming languages at once.

And then it became like three languages at once when smart pointers became the norm. It makes it very difficult and confusing to learn.

[–] asdfasdfasdf@lemmy.world 1 points 2 days ago

Take a look at Rust. It's what I'd call an exceptionally well defined language.

[–] palordrolap@fedia.io 3 points 3 days ago (2 children)

Front end versus back end. The people who make programming languages are back-end developers. Their strengths lie with making something that works, not something that looks pretty.

[–] muntedcrocodile@lemm.ee 8 points 3 days ago

I would argue backend languages are infinitely Easter than frontend

[–] lord_ryvan@ttrpg.network 8 points 3 days ago* (last edited 3 days ago) (1 children)

I beg to differ

I can read plain-text PHP, Python or Ruby code.
I can't read plain-text, uncoloured HTML or Vue code.

[–] tiredofsametab@fedia.io 1 points 5 hours ago

I can't read plain-text, uncoloured HTML

That's all we had back in the day. The only difference that jumps out to me is having attributes, but that's still not that crazy. Even back when I did web stuff, I used notepad++ without any particular higlighting the vast majority of the time for plain HTML (though not JS).

[–] thebardingreen@lemmy.starlightkel.xyz 15 points 3 days ago (1 children)

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook! Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook! Ook! Ook! Ook. Ook? Ook. Ook! Ook! Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook! Ook! Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook! Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook! Ook. Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook! Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook! Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook! Ook! Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook! Ook! Ook. Ook! Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook! Ook! Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook! Ook! Ook. Ook? Ook! Ook. Ook! Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook. Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook! Ook. Ook! Ook! Ook. Ook? Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook! Ook. Ook? Ook. Ook. Ook! Ook? Ook. Ook? Ook.

[–] lobut@lemmy.world 11 points 3 days ago (1 children)

I dunno, whitespace is a programming language and I don't know who that's for :P

[–] lord_ryvan@ttrpg.network 3 points 3 days ago
[–] souperk@reddthat.com 9 points 3 days ago (1 children)

I hate to spoil your fun but IRs are made to be written by programs and read by programs.

[–] marcos@lemmy.world 15 points 3 days ago

That's why we don't call them "programming language" even though they are the same kind of thing.