Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
raluk
42 days ago
|
parent
|
context
|
favorite
| on:
Go is still not good
Having lexicial scope it is same as -> defer fn{if(some condition) x() }() within scope.
tgv
42 days ago
[–]
Except 'some condition' may change, can be long, or expensive, so you likely need an extra variable.
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: