Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
viraptor
44 days ago
|
parent
|
context
|
favorite
| on:
Web Locks API
It's also similar to C#'s "using ...;" without a block. Syntax sugar there rather than RAII, but looks the same.
zigzag312
44 days ago
[–]
C#'s using can be used without a block. It disposes the resource at the end of a current scope.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: