Hacker News new | ask | show | jobs
by stormbrew 3649 days ago
Except that deterministic destruction is actually a feature that enables cleanup when leaving a scope. Manually peppering your code with defer statements is often doing work a computer can do better than you can.