Hacker News new | ask | show | jobs
by detrino 4480 days ago
Thanks for the example, seems like Go's solution is better than C but has the same problems as C#: non composable and leaky.
1 comments

It's significantly worse actually, as the acquire call does not imply the dispose. Disposal has to be invoked separately, even if close to acquire.