Hi emaa ,
emaa rose wrote:I have been asked to get some sample code as a part of paperwork for my job interview. I am a little confused on what to take with me. All the code that I had was for my employers that is proprietary information...
Has anyone been asked for sample code before? What did you take with you?
It is really rare but it happens, it is quite current for front-end designers who have to give out a portfolio of what they did for consideration, but not for coders although I saw it, but really 1 case out of 100.
You are fully authorized to answer exactly what you said, the code you made till then is proprietary and you are not allowed to display any part of it because of NDA, it is completely legitimate and they cannot say anything (they could be attempting to steal code from your former employers and could easily be sued as a code theft attempt even for simply asking). In my case not only I am not allowed to give out any part of code I made at my former company, but I am not allowed either to give any internal reference except the HR head (they don't want their Engineers to be stolen either), and I had to sign a NDA about this, so your reaction is quite normal IMHO.
This is why it is good to have a permanent personal project under your hand, if possible open source, so that you can show the quality of your code to anyone without any issue.
Best regards.