HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by cakealert | Hacker News Reader
Parent
Full thread
cakealert
·
It's explicit opt in RAII, you opt in by using a defer.
View on HN
lenkite
·
RAII, which stands for Resource Acquisition Is Initialization, is a programming technique in which a resource's lifetime is tied to an object's lifespan. An explicit defer does
not
fit this paradigm.
ioasuncvinvaer
·
free is an explicit opt-in garbage collector.
Reply on news.ycombinator.com