this post was submitted on 17 Dec 2025
429 points (96.7% liked)

Programmer Humor

27920 readers
1657 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
[–] AnarchoSnowPlow@midwest.social 95 points 1 day ago (11 children)

Programming languages, much like the jackass in the middle, are tools. Different tools are for different things. The right tool for the job can make your day. The wrong tool can make you question your entire career.

[–] monkeyman512@lemmy.world 31 points 1 day ago (2 children)

Funny how tools are useful. But a person who is a tool is not.

[–] MotoAsh@piefed.social 12 points 21 hours ago (3 children)

A tool of a person is a fool who is being used by someone else. They might not be useful to you, but to who ever makes the koolaid they're drinking, they're a very good tool.

load more comments (3 replies)
load more comments (1 replies)
[–] theneverfox@pawb.social 18 points 1 day ago (5 children)

Exactly. And what is the best tool? The best tool for the job

[–] sundray@lemmus.org 30 points 1 day ago (1 children)

And what is the best tool?

AI! (This message brought to you by The Microsoft Marketing Dept.)

load more comments (1 replies)
[–] BatmanAoD@programming.dev 12 points 1 day ago (2 children)

That's just not terribly meaningful, though. Was JavaScript the "best tool" for client-side logic from the death of Flash until the advent of TypeScript? No, it was the only tool.

[–] theneverfox@pawb.social 11 points 1 day ago* (last edited 1 day ago) (1 children)

You're halfway there.

Yes, it was the best tool, in context

In that context, what was better?

load more comments (1 replies)
load more comments (1 replies)
load more comments (3 replies)
[–] AnUnusualRelic@lemmy.world 10 points 14 hours ago (3 children)
load more comments (3 replies)
[–] staircase@programming.dev 10 points 1 day ago* (last edited 1 day ago)

Sometimes I just want to use a particular tool, and care less what I'm making with it.

I rarely get this pleasure at work.

load more comments (7 replies)
[–] Johanno@feddit.org 27 points 17 hours ago (1 children)

The language is as important as architecture and stuff.

Pick the right language for the right task.

Performance? Don't use python.

Everything else? Use python because everyone does.

/s

[–] sip@programming.dev 18 points 13 hours ago (1 children)
[–] j5906@feddit.org 12 points 12 hours ago (2 children)

as someone who uses python daily: what is syntax? /s

load more comments (2 replies)
[–] 30p87@feddit.org 26 points 1 day ago (12 children)

Almost any language is OK, but Rust is just so, so fucking ugly

[–] firelizzard@programming.dev 40 points 1 day ago (5 children)

Almost any language is ok but some ecosystems make me want to turn into a murder hobo (looking at you, JavaScript).

load more comments (5 replies)
[–] asdfasdfasdf@lemmy.world 39 points 1 day ago (9 children)

Hard disagree. Super beautiful.

load more comments (9 replies)
[–] asudox@lemmy.asudox.dev 22 points 1 day ago (33 children)

what? what part of rust is ugly?

[–] UnderpantsWeevil@lemmy.world 18 points 1 day ago (2 children)

Maybe they're confusing the literal name with the language? Idk.

I grew up on Perl and holy fuck... Rust is fine.

load more comments (2 replies)
load more comments (32 replies)
[–] Lembot_0006@programming.dev 21 points 1 day ago (9 children)

FORTRAN isn't a beauty either.
And Python is strange as hell with its mandatory tabs.

[–] bleistift2@sopuli.xyz 20 points 1 day ago (2 children)

You can use spaces in Python.

[–] marduk@lemmy.sdf.org 19 points 1 day ago (7 children)

Two, three or four spaces? If you answer wrong I'll never forgive you

[–] TeamAssimilation@infosec.pub 15 points 1 day ago

Whatever your place defines as a standard. I’ve seen ugly code in C, JavaScript, Java, etc., that uses them all over the place because they’re not mandatory.

If you don’t have consistent indenting, your code looks like copy/paste from several sources; but if you do have consistent indenting, then the indenting of Python is a non-issue.

load more comments (5 replies)
[–] firelizzard@programming.dev 10 points 1 day ago (2 children)

Indentation-driven control flow is one of the most cursed things ever invented, excluding things explicitly designed to inflict pain or death.

load more comments (2 replies)
[–] tyler@programming.dev 10 points 1 day ago (2 children)

List comprehensions are much stranger than tabs vs spaces. There are very very very few languages that use them, and python’s is by far the worst out of the popular ones.

load more comments (2 replies)
load more comments (7 replies)
[–] BehindTheBarrier@programming.dev 16 points 18 hours ago (5 children)

I can actually see where this is coming from, as I found Rust hard to read when I started out. I do really like Rust for reference, but I do agree Rust is hard to read for someone that has not learned it.

For example:

return statements that are implicit just because the semicolon isn't there. Even better if they occur inside a if block or something like that. Very hard to understanding when you don't know the syntax rules.

Lambda functions, especially when using move semantics too. They are quite simple, but if you don't know the meaning, it's more arcane characters. Especially when this is used inside lots of chained methods, and maybe a multi-line function in the lambda.

A lot for the if let x =... type of stataments are tough the first time around. Same for match statements.

Defining types for use with function::() and such.

Lifetimes, especially when they are all named a, b, c etc. It quickly gets messy, especially when combined with generics or explicitly defined types.

Macros, though not entry level rust to begin with, they are really cumbersome to decode.

None of these are sins of Rust, but for new people they are a hill to climb, and often hard to just "get" based on previous programming experience and reading the code. Rust can be really hard to approach because of these things. This happens in other languages too, but I do feel Rust has a particularly large amount of new concepts or ways to do something. And this is on top of learning lifetimes and borrow semantics.

[–] 5C5C5C@programming.dev 10 points 17 hours ago

This is the most sober take in this thread. I was bothered by all these things you mentioned for the first two weeks of using the language. I begrudgingly accepted them for the following two months because I felt the benefits of the language were worth it. Now all of these things feel natural and I don't give them a second thought.

load more comments (4 replies)
[–] LiveLM@lemmy.zip 11 points 19 hours ago (10 children)

Go look at that Lisp kojumbo then tell me Rust is ugly.

(defmethod wake ((object magic-packet) address port)
  (let* ((payload (encode-payload object))
         (size (length payload))
         (socket (usocket:socket-connect nil nil :protocol :datagram :element-type '(unsigned-byte 8))))
    (setf (usocket:socket-option socket :broadcast) t)
    (usocket:socket-send socket payload size :host address :port port)
    (usocket:socket-close socket)))

Actually unreadable.

load more comments (10 replies)
[–] Sunrosa@lemmy.world 8 points 1 day ago (9 children)

One of the reasons i find it so hard to use non-Rust languages is how ugly they typically are by comparison. "fn" instead of "function" is such a great example of saving key presses where they're most needed. And you get very used to seeing compact abbreviations. Idk if that's what you're talking about though.

load more comments (9 replies)
load more comments (5 replies)
[–] MonkderVierte@lemmy.zip 24 points 18 hours ago* (last edited 18 hours ago)

The programming language promotes a thinking model and the ecosystem defines a modus operandi.
Of course they matter.

[–] AldinTheMage@ttrpg.network 21 points 9 hours ago

That's why we use JavaScript on the front end, JavaScript on the back end, and you can streamline it even more by using JavaScript for the db layer too. After all, if you have too much data to be reasonably parsed in a single .json file, you are probably just architecting wrong.

[–] palordrolap@fedia.io 14 points 1 day ago (1 children)

This is pretty smart for the left guy. He's usually down at the level of "HTML is a programming language" or "What's a programming language?".

That said, the first one of those isn't mutually exclusive with what he says in the meme.

[–] flamingo_pinyata@sopuli.xyz 11 points 1 day ago (1 children)

It mostly reflects my own story. From a beginner enthusiast of multiple "cool" languages (Scala was all the rage back then), through considering myself more "mature" and thinking about business priorities, ending at understanding that using a good programing language is a business priority.

If the team works with a language they enjoy, they will be happier (and more productive). Doesn't even matter if the code is written by humans or machines.

load more comments (1 replies)
[–] Gonzako@lemmy.world 14 points 1 day ago (10 children)

I like using python just cuz I can quickly get it working. I wish I had the time to undust C and try getting that to do what I want but my work cares more about iteration and speed to implement than speed of the program itself.

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