So for new tech people getting started in their careers, make sure you save up 4-6 months of income so you don't have to put up with this garbage. They say money is power, but before that, it's freedom.<p>Don't allow yourself to be pushed around. If you aren't strong enough mentally yet to do it for yourself, do it for the other people in the field who aren't strong enough.<p>If they offer to pay you to train your replacement, tell them to pound sand and walk out. Be prepared financially.<p>If they try to force you to sign a non-compete, be willing to walk away until they make it fair and reasonable.<p>If they try to get you to sign away all your IP, tell them no.<p>Companies don't expect you to read that contract you are signing, and most of them just pull a boilerplate contract off the internet. Almost all of them are grossly one sided to the company. This includes taking ownership of anything you've developed in the past on your own.<p>All of this is easy if you have 4-6 months of income saved up. You are in high demand; companies will wither on the vine without good, efficient systems running them. Now, but even more so in the future.