Q : I'm a Java developer working for a software house. I'm about to take two weeks leave, but I haven't really enjoyed the job for a while now. What's the worst that could happen if I ghost them and just don't go back to work?
A : It sounds like what you're proposing isn't so much burning your bridge, but lighting three tonnes of dynamite and blowing it sky high.
A lot depends on what your employment contract says. If you happen to be in a situation where you can leave without giving notice, then all you're doing is being pretty rude. (And you're almost certainly wrecking any chance of getting a reference.)
But if you do have a specific notice period, 'ghosting' your job could land you in hot water. If you don't give proper notice, you will be in breach of contract and it's possible your employer could sue you for damages.
You can choose to agree a shorter notice period if you wish. Your employment will finish at the agreed time and you will only be paid for the agreed period.
Just remember - your reputation is everything. Don't throw it away.