this post was submitted on 03 Aug 2025
316 points (95.4% liked)

Programmer Humor

25460 readers
1378 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
 

"Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

top 50 comments
sorted by: hot top controversial new old
[–] boaratio@lemmy.world 1 points 2 hours ago

At my last job I worked in a code base written in C and it needed to be certified to MISRA level A, and even in a language with as many foot guns as C, it's possible to write safe code. You just need to know what you're doing. I know there are tons of Rust zealots out there claiming it'll solve every last problem, but it turns out you just need to be careful.

[–] hedge_lord@lemmy.world 32 points 15 hours ago (1 children)

Unlike you babies I have Personal Responsibility and I write all of my code directly in assembly the way reagan intended. I don't need guard rails and I've never had any issues with it because my Personal Responsibility keeps me safe

[–] Klear@lemmy.world 7 points 4 hours ago* (last edited 4 hours ago)

Magnetised needle and a steady hand or gtfo

[–] freetopos@feddit.nl 5 points 13 hours ago (1 children)

What's actually tiresome is how this keeps happening: https://paulgraham.com/avg.html

[–] qaz@lemmy.world 1 points 2 hours ago
[–] CanadaPlus@lemmy.sdf.org 23 points 21 hours ago* (last edited 17 hours ago) (1 children)

I'd guess it's Rust fan's genuine belief that they have something revolutionary.

“Rust’s compiler prevents common bugs” So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it.

If you're that much of a galaxybrain, you should be writing everything directly in opcodes. In reality, nobody is, and we invented languages to help us perform an activity the human brain is very poorly suited to.

This attitude also means that OP stares at their own obvious bugs on a screen all day and then decides they're great, which is level of detachment from reality frightening to me.

[–] LeFantome@programming.dev 17 points 14 hours ago* (last edited 14 hours ago) (2 children)

Sadly, it is a detachment from reality that is entirely normal, even typical. In all walks of life.

What I still find surprising, even though normal, is how technical people can push actual facts and evidence right out of their world view.

Sure, 70% of the bugs in C++ code bases are memory rated according to multiple sources. So let me aggressively and confidently berate this idiot that says the Rust compiler is doing something useful.

You do not have to use either language to see how idiotic this is. Even if you accept that this guy has “the skill” to make compiler help redundant, he has no point at all unless he thinks that “typical” C++ users have that same level of skill. And, provably and trivially researched—they do not. Being this wrong makes him, as self-evidenced, incompetent by definition.

All he proves in the end is that he is angry (and I guess not a fan of Rust).

“Angry and incompetent” is sadly a much more common trope than the ones he tires off.

[–] squaresinger@lemmy.world 6 points 6 hours ago

There's some weird effects with language-specific bug rates.

In old Java, most uncaught exceptions are NullpointerExceptions, because most other exceptions used to be checked. Can't not catch a checked exception.

So they made Kotlin, where NullpointerExceptions are the only type of checked exceptions. Now there are no unhandled NPEs anymore but now you get tons of other exceptions.

[–] CanadaPlus@lemmy.sdf.org 2 points 9 hours ago (1 children)

Oh yes, it's so very human nature. But damn.

Most coders get the message at least a bit, I think. Other engineers have a reputation for massive egotism, software engineers don't really.

[–] qaz@lemmy.world 1 points 2 hours ago

Other engineers have a reputation for massive egotism, software engineers don’t really.

That's a joke right?

[–] masterspace@lemmy.ca 37 points 1 day ago* (last edited 1 day ago)

Skill issue takes are dumb as fuck. It's just republican personal responsibility takes using different language.

Intelligent people focus on producing systemically better outcomes.

[–] Scoopta@programming.dev 26 points 1 day ago* (last edited 1 day ago) (2 children)

While I do totally see the advantages of rust and agree skill is not a solution given people make mistakes...I do agree a lot of the very vocal rust advocates do act almost religious and it is an annoying turn off.

[–] daniskarma@lemmy.dbzer0.com 6 points 23 hours ago

Do you have time to talk about our lord Rust? Did you know it died for our bugs so we don't have to debug them at run time?

[–] Valmond@lemmy.world 19 points 1 day ago (2 children)

We had the Java guys in year 2000, at least Rust seems to be a decent language.

[–] LeFantome@programming.dev 3 points 14 hours ago (1 children)

Java was created so that teams of intermediate skill programmers could maintain large, long-lived code bases. And it did its job incredibly well.

If that is not your use case (or you do not want to admit that you are such a programmer), it may not be your favourite language.

I always like C# far better. It may be my favourite language overall. It has a bit more headroom and was designed somebody far more skilled. But it was designed to compete directly with Java. So, you know who it was built for.

[–] Valmond@lemmy.world 1 points 7 hours ago

Seems there still are some around!

[–] zarkanian@sh.itjust.works 1 points 17 hours ago (4 children)

I've never run into a Java evangelist. Every opinion I've ever heard about Java is something like "Yeah, this sucks". I always thought that people put up with it because it's write-once, run-anywhere, but so is, y'know, Python.

[–] bradboimler@lemmy.world 1 points 2 hours ago

I love Java and use it every chance I get

[–] ZILtoid1991@lemmy.world 2 points 3 hours ago

Early on, Java was advertized as the next great thing, ending headaches from system development, porting, and "promoting good programming practices through OOP".

Then people increasingly got tired of OOP and the speed penalty of both that paradigm and the JVM, not to mention more and more education institutes started to claim Java was too hard for beginners, and that Python would be better.

Now we have Rust evangelists promoting the language as the next great thing, ending headaches from memory safety issues, porting (if you target WASM and pack your app into a Chromium instance), and "promoting good programming practices through FP".

Time is truly a flat circle...

[–] Strawberry@lemmy.blahaj.zone 2 points 6 hours ago

I love Java

[–] Valmond@lemmy.world 0 points 7 hours ago

There was a saying back in the day, roughly: "java can run on all platforms like anal sex works on all genders".

Python is slow but fantastic when it comes to interoperability IMO and is just complex enough that you can get the job done. I just hope they'll won't complexify it into oblivion, it's a really neat language. IMO.

[–] mokus@lemmy.blahaj.zone 42 points 1 day ago

“Should I use rust or c++” is the wrong question IMO. The right question is “do I want the code I run, written by thousands or millions of randos, to be written in rust or c++”.

[–] MonkderVierte@lemmy.zip 10 points 1 day ago* (last edited 1 day ago)

The language/compiler restricting some bad practices makes safer code with less skill. Btw, there's also Safe C++

[–] ExLisper@lemmy.curiana.net 11 points 1 day ago (8 children)

The really annoying part is all the people saying that you shouldn't like Rust because actually it's not magically bug free. Yeah, no shit. No one who touched Rust claims it lets you write bug free code. People like Rust because it's modern, fast, has great tooling, great documentation and really nice features like Traits and Algebraic data types. Memory and thread safety is just a bonus.

load more comments (8 replies)
[–] smiletolerantly@awful.systems 124 points 1 day ago (19 children)
  • if your skill is so great that you would never cause the kinds of bugs the rust compiler is designed to prevent, then it will never keep you from compiling, and therefore your complaint is unnecessary and you can happily use rust
  • if you do encounter these error messages, then you are apparently not skilled enough to not use rust, and should use rust

In summary: use rust.

load more comments (19 replies)
[–] purplerabbit@beehaw.org 3 points 22 hours ago

I mean... they do kinda have a point on the last part. I'm no programmer or coder. I can't code for shit. I don't know a lot about development. And even I have the feeling that Rust people, they're kinda like NixOS people a while back, they never shut the fuck up about it. :3

They're definitely enthusiastic, I'll give them that. But so many projects are sold solely on the fact that they are made with Rust, even though it means absolutely nothing to most users.

I remember when System76 announced that they were making a new desktop environment and the only thing they basically said about it back then was that it was made with Rust and it felt like my corner of the internet lost their mind about it like they had announced the second coming of Christ or something.

[–] AllNewTypeFace@leminal.space 50 points 1 day ago (3 children)

The human mind has limited capacity for things to pay attention to. If your attention is occupied with tiptoeing around the loaded guns scattered all over the floor, sooner or later you’ll slip and trip over one.

Of course, you’re a virtuoso programmer, so you can pirouette balletically around the floorguns as you deliver brilliantly efficient code. Which is great, until you have an off day, or you get bored of coding, run off to join the circus as a professional knife-juggler and your codebase is inherited by someone of more conventional aptitude.

Programming languages offering to keep track of some of the things programmers need to be aware of has been a boon for maintainability of code and, yes, security. Like type systems: there’s a reason we no longer write assembly language, squeezing multiple things into the bits of a register, unless we’re doing party tricks like demo coding or trying to push very limited systems to their limits.

load more comments (3 replies)

Everyone makes mistakes, no matter the level of skill

[–] IrateAnteater@sh.itjust.works 68 points 1 day ago (6 children)

At this point, I've seen far more people being almost violently anti-rust than I've seen people being weirdly enthusiastic about rust. If Rust people are Jehovah's Witnesses, then a lot of the anti-Rust people are ISIS.

[–] wer2@lemmy.zip 1 points 10 hours ago

Try suggesting people try out a garbage collected language and see how the crabs come to feast. :P

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