Hacker News new | ask | show | jobs
by imtringued 3070 days ago
>"Zig does not support RAII or operator overloading because both make it very difficult to tell where function calls happen just by looking at a function body."

How about showing an error if you don't call the deconstructor manually?