Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cpburns2009
on Oct 9, 2018
|
parent
|
context
|
favorite
| on:
Rust RAII is better than the Haskell bracket patte...
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
.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: