There is no right way to lay off someone. Only different shades of bad.
If the company has a healthy cashflow it can afford to give the employees that have been laid off a larger runway in terms of how many months of salary they will still pay out. If you've given them stock options, you can give them more time to decide whether to exercise the vested option.
I'd gladly take a "Good riddance" with 6 months of salary and 2 years validity of my options over a "We regret that it has come to this point" with just a one-month notice.
Now, if you mean "bad" as in it's unpleasant to hear or give the news, I agree with you, it's always the opposite of fun.
just make it fast and not painful at least
When I was laid off I appeared stoic throughout the conversation. Because lots of people were laid off so there was no point to discuss “why”. The only question was severance. But then the HR got curious about my lack of reaction. He started questioning if I had job offers at hand and if my access could be cut right then (others were given a week).
Why? Because that makes the average editor pleased with themselves? I'm sorry but I can't eat or wear that as a hat.
Personally I don't want companies to self-sabotage by not laying off people when they need to. Worst case you'll have companies file for bankruptcy en masse after turning human resources into hot air useful to nobody: now we've really fucked up. The more efficiently labor is allocated in an economy, the better everyone will be off.
And yes, I recognize that high churn through frequent growth and contraction phases is also inefficient, but bad leadership is a tangential issue at best.
But more importantly, layoffs are rarely just about cutting costs. They're often called "restructurings" because that is exactly what happens - usually whole departments or positions are let go when a company decides to exit business lines or make a significant change in direction.
Layoffs suck, but keeping folks around when there is basically no useful work for them to do isn't a solution either, it's just kicking the can down the road.
If that sort of firing happens you have bad leadership and the company is screwed anyways.
Layoffs suck, period. Like the good advice goes when starting a new relationship "Just ignore everything they say, and only focus on what they do." A generous severance package is loads more important than nitpicking the format of the layoff announcement. Plus, Atlassian famously has a global, distributed team that embraced remote work. Someone somewhere is getting the recorded clip regardless.