Hacker News new | ask | show | jobs
by shasta 5516 days ago
The library author needs to remember to use RAII, but the client doesn't need to remember anything (as in his examples). Whereas with 'with' it's the opposite - the client has to remember to use it.