1) What do you provide when interviewers ask for code samples? Do you try to tailor your samples to the specific requirements of the job?

Not that I've ever been asked, but I include in my resume a link to my modules on the CPAN.

I believe what has worked best for me were people telling good things about me to my current employer.

2) Has an interviewer ever asked you for proprietary code? What was your response?

No. Never.

3) Do you keep code you have worked on in the past, even if it is just for reference and you have no intention of showing it to anyone?

Given that I used to make backups of our stuff at my previous job and that I kept it at my home (backups next to the server are not particularly good in case of a fire, for instance) and that I still keep them... I have to say yes, I do. But I'm not planning on giving it to anyone else. OTOH, I might end up working there again... one never knows...

Another thing is: I like to have my previous code for future reference. I might want to rememeber how I did a particular thing... and I don't think there's any harm in that... it's just me, looking at the code I wrote...

4) If so, do you think this is a normal or common practice among programmers?

I believe that those who don't keep code from previous employers are not actually avoiding doing that... they merely... don't do it! It's not like it's premeditated!


In reply to Re: Code Samples and Previous Employers by cog
in thread Code Samples and Previous Employers by friedo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.