ParentFull threadpaholg·That's called RAII, and I'm a big fan (not of the name, though. It's a terrible name).https://en.m.wikipedia.org/wiki/Resource_acquisition_is_init...View on HN