Best of 2022

The blog posts Hacker News loved most in 2022. 314 posts.

Web & Frontend
306

Wrong by Default

A few programming languages use a “defer” pattern for resource cleanup. This is a construct such as a defer keyword which schedules cleanup code to run at the end of the enclosing block (or function). This is available in Zig, Go and even in GCC C.