If it's an unreasonable contract and they refuse to make the contract reasonable upon request then having the company walk away probably means you dodged a bullet.
For software developers there's usually another job out there although I agree in principle - if you're on the low end of the wage ladder you're somewhat screwed.