Hacker News new | ask | show | jobs
by CodeIsTheEnd 1492 days ago
But you only need to write the destructor once.
1 comments

Fair point, but on the other hand, the destructor has to work for all contexts. The usual argument is that the creator of the class has the best vision for what should be in the destructor, but I don't agree with that either.