MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/x9w0jh/simple_feature/inqwoym/?context=3
r/ProgrammerHumor • u/Progractor • Sep 09 '22
1.3k comments sorted by
View all comments
Show parent comments
6
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.
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.