Getting fired is bad enough, but if it's being done by someone bad at firing people it's the worst. Moneyball had some solid advice:
"Be straight with them, no fluff, just facts. 'Pete I gotta let you go. Jack's office will handle the details.'" That's it.