He explained that, "for future reference" it was "expected" of programmers to keep real-world samples of their code from proprietary jobs, and that he had stuff he had worked on for a number of large companies.
I'll bet his company lawyer wasn't in the room when he said that, or he'd have gotten taken out and spanked.
I spent many years as a hiring manager. If someone brought proprietary code into an interview, they'd get flunked on the spot. And it did happen a few times. You don't start a trust-based relationship by demonstrating how easily you'll break legal agreements.
At my current job, we ask candidates for a code sample for a generic problem we pose. That keeps things safe and neutral, and helps prevent misrepresentations over authorship. (And we follow-up with some problem solving at a whiteboard for candidates who make it through written screening.)
Edited to add: A lot of people never get training
on the legal and ethical aspects of recruiting and hiring, which is a shame, since some people have odd ideas about what's appropriate, and in some places the lines are drawn seemingly arbitrarily (at least in the U.S.). If you find yourself interviewing candidates and you're not sure what's legal to ask, track down someone in your HR department and ask them. If they don't know, work your way up the department until you find someone who does know. Getting a synopsis of the rules shouldn't take more than an hour (in the U.S., at least).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||