Comment Comment by noncoml > This can be done with a guard object in RAII languages, but it's a bit unintuitiveSome syntactic sugar, like Python’s “with” should help with that, shouldn’t it? parent noncoml 4 years ago
Some syntactic sugar, like Python’s “with” should help with that, shouldn’t it?