this post was submitted on 19 Nov 2025
409 points (93.2% liked)

Programmer Humor

27412 readers
2018 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] UnderpantsWeevil@lemmy.world 3 points 5 hours ago (1 children)

Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.

Like, its a great learning language precisely because it does force you to think about what's actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.

But without a ton of library support, you're doing so much heavy lifting. And with a bunch of library support... why not just use C#?

[–] Pelicanen@sopuli.xyz 2 points 5 hours ago (1 children)

...do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it's absolutely necessary since it's not an OOP language.

[–] UnderpantsWeevil@lemmy.world 1 points 5 hours ago

Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language

Fair. It is harder to break things in C++ than C. Although I've definitely created a few memory leaks.

I'll admit I haven't actively fucked with C++ in over a decade, but in my experience you're not going to find the kind of native integration with - say - Azure or SQL that's baked into more modern languages. You can work around this with libraries. But eventually you're just emulating a higher level language.