3 ms·
Then don't use them? They are completely explicit, you have to write scope(exit) to make anything happen. The use of scope(exit) is actually very useful becaus
by mhh__ 7y ago
Then don't use them? They are completely explicit, you have to write scope(exit) to make anything happen.
The use of scope(exit) is actually very useful because, for example( short of using RAII) how many times do we all forget to free or close a file. Programmers make mistakes, but if you give them the tools to not fuck up as idiomatic parts of the language: They will use them.