this post was submitted on 16 Mar 2025
804 points (100.0% liked)

Programmer Humor

21852 readers
1100 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
804
C++ (ani.social)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 week ago (3 children)

Prevent what? UNDERSTANDING the code?

Yeah, Rust is quite successful in that :)

[–] [email protected] 48 points 1 week ago (1 children)
[–] [email protected] 5 points 1 week ago (1 children)

That's a rather old joke. Modern compilers print more adequate things on STL/templates related things.

And it doesn't make Rust any better.

[–] [email protected] 8 points 1 week ago

Yeah, I know, that all just a humour. I almost always use C++, inspite of knowing rust (cz no jun vacncies for rust, but still). There is no modern language which is absolutely better than other one — compromises are everywhere, that's why it's a silly topic to argue about.

[–] [email protected] 7 points 1 week ago

You do not come across as clever as you think that you are when your central point is that you personally are not capable of understanding code written in a different programming language.

[–] [email protected] 1 points 1 week ago

I feel like a really bad job has been done of making it simple, honestly. Or at least was last I checked.

Pointers allow aliasing XOR mutability. There's all kinds of nuance layered on top of that if you look in the compiler developers resources, but that's just to allow for all the different kinds of sugar people want in a modern language.