> If your boss is bad, resign as soon as possible with 2 weeks notice and wipe your hands of it
2 weeks is a guidelines, and there are a lot of exceptions for the guideline. To be quite honest, there are some jobs where I'd give more than 2 weeks, and there are other jobs where walking up to the boss and saying, "I quit" is completely appropriate.
IMO, ghosting is (almost) never appropriate. I think the only exception are situations of personal safety or situations where contact with the employer would have legal consequences. In those cases, I'd get a lawyer involved ASAP to handle communication with my prior employer.
But, getting back to quitting with less than 2 weeks notice. If a situation is truly miserable, but people are generally reasonable, (IE, no personal safety or legal issues,) I think it's best to explain the situation. I certainly would never expect a miserable subordinate to stay.
I once quit a beer money job on short notice. There were a few things promised that weren't delivered, and a few expenses that weren't explained. I didn't feel guilty.