Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
IAmADHDToo
· 5y ago · 0 comments
That's indeed tricky: if there's a for loop inside the guarded block which generates many defers, a stack would have to be created to handle them somehow.
Comments
[–]
saagarjha
5y ago
The defer would just run at the end of each iteration.