News for hackers. Stuff that matters.
Re:Rust RAII is better than the Haskell bracket pattern by cpburns2009 on Tuesday October 09, 2018 @09:41AM (#18175853)
Java has the try-with-resources statement, and C# has the using statement. They're alternative forms of the try statement and they're functionally equivalent to Python's with statement using contextlib.closing.

There are no comments on this comment yet.