tl; dr: I always provided code for the interview. There are enough interesting problems that you can quickly write something representative and fill it in your bag.
My portfolio includes my resume, my resume (another type of document), important presentation slides (downloaded from JavaOne, for example), code samples (created in due time on my own computer), interesting project documents (for example, how I will do it now, if I had to do this), runtime images (downloaded from the publication site), etc.
Never invest anything in your portfolio, even hints of being a former employer or IP.
However, one of the great things about public presentations is that you can download a screenshot from the publication website. Of course, you should treat your publishing authority properly for proper fair use.
All that said, I am interviewing people who want to work here who don’t have a sample code with them. This is largely a factor of experience: many of them are new graduates. However, my expectations are much higher for experienced professionals. My filters are also quite thick: we would rather overload the work than hire one bad person.
Bob cross
source share