Loan Pattern
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Dont rely on the user to remember to close resources or handle leaky abstractions
you do it for them
The leak is encapsulated in the api, prevents leaks on user side