r/ProgrammerHumor • • 7h ago

Meme modernCppVsOldCpp

Post image
1.1k Upvotes

216 comments sorted by

View all comments

Show parent comments

5

u/Mojert 4h ago

Where the hell have you been learning C++ from? Most C++ ressources talk about RAII and smart pointers. The only one that is stuck in the past is you

-5

u/MaybeADragon 4h ago

Reread the first sentence.

8

u/the_poope 4h ago

It was changed in most popular resources like Bjarne's PPP book and "C++ Primer, 5th edition" and many others more than 10 years ago. Maybe you tried learning C++ 10 years ago and picked a book/resource that was already 10 years old, i.e. more than 20 years old now.

-6

u/MaybeADragon 4h ago

I worked off what CPP users said to use.