Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
CodeIsTheEnd
· 4y ago · 0 comments
But you only need to write the destructor once.
Comments
[–]
gilbetron
4y ago
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.