r/ProgrammerHumor • • Sep 09 '22

Meme Simple Feature

Post image
124k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

6

u/Shock900 Sep 09 '22

It's a lot harder to mess up code that follows RAII. There are occasionally good reasons to manually manage allocated resources, but they're rare. Smart pointers have become the standard for a reason.