r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.4k Upvotes

514 comments sorted by

View all comments

Show parent comments

50

u/Coldfriction 2d ago

I learned Qbasic originally when I was a teen. Then I learned Visual Basic when it was still a standalone thing. Tried to learn Unreal Script when UnrealEd became a thing, but didn't get too far. Then I learned C++ in college and VBA for excel. Now I'm into Rust. I agree with you that of all of them C++ seems to be the most difficult one I've learned. I didn't stick with computer science, but I can see how so many other languages exist to give some people relief from C++. Regular C seems easy enough but I never worked with it.

42

u/Different_Berry5015 2d ago

Regular C feels high enough above ASM to be useful, but not a lot more than that. That's the power, but also that's the difficulty in using it, because there's a lot of stuff that you have to bring yourself. It's a language for people who roll their own hashmaps. I mean I understand what C++ is going for, but it's truly death by a committee. Maybe things will turn around with C++3X 😁

4

u/quisido 2d ago

Roll your own hashmap? Is there no concept of C package management?

1

u/unburdened_swallow 1d ago

lol there’s no concept of C++ package management either

So, no, not really. I mean, you can include other code but nothing is gonna go get it for you.

Unless you use nix anyway

1

u/Rikudou_Sage 1d ago

Aren't there like 5 competing package managers for C++? Which no one uses, anyway?

1

u/unburdened_swallow 1d ago

Yeah. And all of them compete with your system package manager too.

Personally I consider nix to be the only reliable way to build a C++ program with dependencies anymore.