>To other jobs have such requirements?
Do other jobs have such benefits? Remote work all over the globe for example? The fact that everyone needs IT these days and so you have tons of work? Nice comfy offices? Apples to oranges won't fly.
> And also what should you do?
Find a work-life balance instead of answering a fair question with a defensive silly question of your own (I ain't even a recruiter and that answer right there made me lol, imagine a guy having to listen to that defensive shit and still having to try and salvage a candidate because he may have strict job requirements). And by that balance I mean either work your ass off to produce quality code in your spare time and stand out among candidates or don't and someone else will stand out instead.
Also check out the irony with this 'my code' stuff too. That's exactly why you have to work ass off in spare time: because every employer goes 'quack! it's my code, don't show it to anyone' so you can't share it with another recruiter.