Kevin Cox personal blog

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.
Points
105
HN comments
80
Submissions
1
Cited by
0 commenters

Web & FrontendDesign & UX2022

On Hacker News

SubmittedTitle on HNPointsComments
May 14, 2022Wrong by Default by nalgeon10580

More from Kevin Cox

All 2 posts →

Related posts from the same era