But...
Not everyone works as a software developer and there are many jobs where coding while you work isn't a detriment to doing a good job. Any job where workers bring in books & magazines to pass the time is a candidate here. I knew someone who was a plant engineer at a water treatment plant. His job consisted basically of being onsite in case there was an emergency. And he managed to bang out a nifty niche application while working there, along with upgrades! (not surprisingly, the app was based on automated monitoring of process systems...) His boss simply didn't care, since he had done that job himself and knew that it really didn't require much attention.
So: generally not a good idea, but in some specific instances it can work out OK.
Bad assumption, I should have asked. Thanks for pointing it out.
If you work for a big corporate it is worth checking your contract too. Often an employer makes claims over your private projects out of work if they are in the same field as your day job.
No.
> does anyone take this risk?
Quite probably yes, but that doesn't make it right, or smart.
Is there any way you can work 1 day per week part-time and devote that to your private stuff or do it after hours ?
If you get fired from your day job you'll have all the time in the world but that probably wasn't what you had in mind.
Also, technically your employer would own what you made, so it really isn't a good idea.
If it isn't possible, it isn't possible, but I'm pretty sure that that is just a matter of degree, I'm sure there is at least a 1/2 hour per day or maybe a Sunday morning early when you can work on your own stuff.
Or maybe at night?
But you'll have to learn how to do with less sleep, and that's not for everyone.