this post was submitted on 17 Dec 2025
513 points (96.4% liked)

Programmer Humor

27967 readers
1432 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
[–] AldinTheMage@ttrpg.network 34 points 4 days ago (1 children)

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.

[–] msage@programming.dev 8 points 3 days ago (1 children)

Every time you get over 200k lines of JSON you gotta split it into another app, so you can webscale.

[–] ChaosMonkey@lemmy.dbzer0.com 8 points 3 days ago (1 children)
[–] AldinTheMage@ttrpg.network 3 points 3 days ago

I miss the old tts voices and now everything is ai generated garbage :( Bring back the robot voices!

[–] Digit@lemmy.wtf 12 points 3 days ago (6 children)

But, Haskell..., it's so well thought out, so evolved, the best of all functional programming in one, the ability to handle infinite lists, the lazy evaluation, the strict type checking, the compiler that catches whole classes of bugs, the curt syntax, the ability to breathe it like pure thought, the clarity like maths...

Okay, sorry, I better leave the room too.

[–] Ethanol@pawb.social 1 points 1 day ago

Haskell is pretty cool, I really like Scala too. It's a bit easier to understand for me :P

Reasoning about memory use is kind of hard though.

load more comments (4 replies)
[–] AnarchoSnowPlow@midwest.social 123 points 4 days ago (13 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 37 points 4 days ago (2 children)

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

[–] MotoAsh@piefed.social 15 points 4 days ago (6 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 (6 replies)
load more comments (1 replies)
[–] fuck_u_spez_in_particular@lemmy.world 7 points 3 days ago (1 children)

Right... And the best tool for every job is of course Rust.

[–] Sasquatch@lemmy.ml 5 points 3 days ago (5 children)

Embedded? Rust!

Web Frontend? Rust!

Web Backend? Rust!

idk what orher kinds of programming exist...

load more comments (5 replies)
[–] theneverfox@pawb.social 20 points 4 days ago (9 children)

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

[–] sundray@lemmus.org 36 points 4 days 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)
load more comments (8 replies)
load more comments (9 replies)
[–] Johanno@feddit.org 41 points 4 days ago (2 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 30 points 4 days ago (2 children)
[–] j5906@feddit.org 18 points 4 days ago (3 children)

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

[–] AeonFelis@lemmy.world 11 points 4 days ago

It's a tax you pay for synning.

load more comments (2 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] MonkderVierte@lemmy.zip 40 points 4 days ago* (last edited 4 days ago)

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

[–] BilSabab@lemmy.world 6 points 3 days ago

The only people who say that are mentioned in Forbes.

[–] Jankatarch@lemmy.world 10 points 4 days ago* (last edited 3 days ago) (4 children)

Ngl changing paradigms can have the problems do a 180.

I hate leetcode but it's surprisingly fun to code certain questions in prolog when final outcome with error checking is like 15 lines.

load more comments (4 replies)
[–] 30p87@feddit.org 26 points 4 days ago (43 children)

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

[–] firelizzard@programming.dev 48 points 4 days 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 48 points 4 days ago (12 children)

Hard disagree. Super beautiful.

load more comments (12 replies)
[–] BehindTheBarrier@programming.dev 20 points 4 days ago (6 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 13 points 4 days 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 (5 replies)
[–] asudox@lemmy.asudox.dev 26 points 4 days ago (41 children)

what? what part of rust is ugly?

[–] UnderpantsWeevil@lemmy.world 21 points 4 days ago (4 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 (4 replies)
load more comments (40 replies)
[–] Lembot_0006@programming.dev 23 points 4 days ago (12 children)

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

[–] bleistift2@sopuli.xyz 22 points 4 days ago (4 children)

You can use spaces in Python.

[–] marduk@lemmy.sdf.org 23 points 4 days ago (8 children)

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

load more comments (3 replies)
load more comments (11 replies)
load more comments (38 replies)
load more comments
view more: next ›