Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
relme
on March 8, 2009
|
parent
|
context
|
favorite
| on:
Ruby-style Blocks in Python
Ruby style blocks would have made the with_statement (and a bunch of other stuff) obsolete. In fact most stuff can be implemented from blocks (like decorators and generators) and not the other way around.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: