Comment

Comment by coldtea

defer is great for many use cases, available in Go, Swift and other languages, and nothing like a kludge.

If anything RAII is unfit for C (which doesn't have classes), and in itself, a kludge (it's an idiom, not a language feature).

parent coldtea 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton