Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
raluk
· 1y ago · 0 comments
Having lexicial scope it is same as -> defer fn{if(some condition) x() }() within scope.
Comments
[–]
tgv
1y ago
Except 'some condition' may change, can be long, or expensive, so you likely need an extra variable.