HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by CodeIsTheEnd | Hacker News Reader
Parent
Full thread
CodeIsTheEnd
·
But you only need to write the destructor once.
View on HN
gilbetron
·
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.
Reply on news.ycombinator.com