In today's social media world where people are willing to post any gossip on the internet for some meaningless likes / points, I think its actually prudent to measure your words carefully before you voice them. Especially if the law is involved.
If you’re afraid that your friend will share on social media your name and your state of happiness about your previous job, May be they aren’t great friends.
A person could be a great friend until they’re not.
They’re not. It was either a joke or he was trying to be edgy.
There are disparagement clauses often.
No, there are not disparagement clauses in the US tech industry, and if any company has them then they deserve to be utterly roasted from now until the end of time. Please make HN posts about each company with a disparagement clause so everyone here knows which companies to avoid. It'll be the easiest Internet points you'll ever make, and you'll be doing a public service.