Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pcwalton
· 8y ago · 0 comments
Fair enough. But it's something like 5 lines of code to write that manually, and writing it explicitly is clearer. With implicit function-scoped defer, someone might refactor the code to inline the body of the function into its caller and break it.
Comments
[–]
br1
8y ago
I totally agree with you.