News for hackers. Stuff that matters.
Re:D as a C Replacement by mhh__ on Tuesday July 02, 2019 @06:12PM (#20339861)
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.

There are no comments on this comment yet.