Comment by raluk Comment by raluk a day ago 1 reply Copy Link View on Hacker News Having lexicial scope it is same as -> defer fn{if(some condition) x() }() within scope.
Copy Link tgv 20 hours ago Collapse Comment - Except 'some condition' may change, can be long, or expensive, so you likely need an extra variable. Reply View | 0 replies
Except 'some condition' may change, can be long, or expensive, so you likely need an extra variable.