I think it depends on the situation. I definitely agree that performance-based firings would tend to be extremely brutal compared to the approach I advocate for here (largely due to the various risks posed by aggrieved employees).
Perhaps I should add that this advice best (only?) applies if you're leaving a company in a sort of "natural parting of ways" kind of situation? Thanks for the feedback.