Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

go's defer is braindead because of its scoping.

Zig's defer is block scoped, so you can actually use it much more easily.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: