Regardless of what you sign when you start working for someone, any code you write under an employer belongs to the employer unless explicitly stated otherwise. What the interviewer in the OP was asking was likely illegal in just about any Western country.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re^3: Code Samples and Previous Employers
by hardburn
in thread Code Samples and Previous Employers
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |