How should he handle this situation?
How should he handle this situation?
Quite a few states have laws limiting the scope in both time and 'intellectual space' over which your employer may claim rights. In Washington (I'm not a lawyer, but I have recent experience with this), the law limits PIAAs to development using company resources, in the same or prospective market, and term of employment +6 months -- and burden of proof is on the employee. From what I researched at the time, this seemed to be about the middle of the road for employee-cum-entrepreneur legal protections. I'm not sure it matters in the end...if you can't afford to leave your job, can you really afford a legal battle with your behemoth ex-employer? The best way to avoid needing the legal protections is to be open, transparent, and avoid conflicts of interest.
Deleted comment
Don't get me wrong. I'd never advise anyone to write side-project code at work. In addition to being unethical, it's also patently idiotic. I'm talking about the case where someone gets up at 5:00 am to write the side-project code on his own resources and then gets sued because his former company decides to be a scumbag.
First, no there isn't. You can fire someone because he's incompetent because he gets too little sleep to do his job, but suing is ridiculous. What if he just has insomnia?
Second, my assumption was that getting up at 5 am implied going to bed earlier. If you're sleeping 1 to 5 and have normal sleep needs, doing this for any length of time will ruin both the side project and the day job.
Most people would be more productive on their side project and at work if they got up at 5:00 am to pursue some kind of passion.