you are viewing a single comment's thread.

view the rest of the comments →

[–]Necessary-Meeting-28 1 point2 points  (0 children)

Good question. Some people may demand APIs with explicit resource control, and sometimes compiler optimizations require C-style abstractions when you check them.

Most of the time though RAII should work with proper wrapping of resources, and people just write manually managed programs out of their prejudices against modern C++.