The smart ones absolutely will not. Smart people absolutely will not do this, regardless of their profession.
And hopefully have the self-awareness not to have strongly held opinions in these areas (at least without sufficient evidence). However, I find that all too often, this is not the case.
> HR/hiring people will look at you like you're some kind of weirdo if you balk at any of it. Here are the reactions to my reluctance as I recall them.
Right. Go over them. Your lawyer will talk to their lawyers, above the level of the HR people you would be talking to.
> I didn't want a contractual responsibility to come and defend patents in courts,
Which is a pretty reasonable requirement...
> or give depositions at my expense.
But that is not (or, rather, it can be in certain circumstances).
A good lawyer will negotiate these things for you. You should try to find one who actually understands software a bit. They do exist.
Disclaimer: I am not your lawyer. If you need a lawyer, you should get one.
>Which is a pretty reasonable requirement...
You omitted the last part. I think it's pretty unreasonable to want that kind of service gratis.
If they're 3/3 with dodging it, what makes it unreasonable? Have they just been lucky so far?
It's really no different than negotiating on salary or anything else - you just have to know your own value and the current job market climate. And obviously not being afraid of having a frank discussion about it - perhaps a lot of devs are non-confrontational in that way.
* One company wouldn't budge. Later, I got a better deal, but it was risky the way I went about it. * At another company, I just didn't sign it. They didn't stop me from starting work but when the omission was noticed they had an HR person pester me about it a few times. They eventually gave up. * At yet another place, I crossed out the parts I didn't like. They just kind of shrugged and said okay.
At no time did I ever want anything unreasonable. I just didn't want all the things that I or my descendants designed/built/invented/helped-whatever to be assigned to ['company'] in perpetuity, etc. And I didn't want a contractual responsibility to come and defend patents in courts, or give depositions at my expense.