Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've currently graduated from my first run at higher education, landed my first full-time gig as a web application developer, and absolutely love it.

My question is that in looking for jobs I ran across many jobs that require a certain level of experience and code examples. Much of the work I am doing is both protected by a login, and closed source. How does someone, that is just starting out and needs to be building a resume, go about preparing for the next job. (no matter how much i love my current job, i feel like it's only responsible to always be preparing)

share|improve this question

closed as off-topic by gnat, MichaelT, Kilian Foth, Dan Pichelman, GlenH7 Dec 2 '14 at 17:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking career or education advice are off topic on Programmers. They are only meaningful to the asker and do not generate lasting value for the broader programming community. Furthermore, in most cases, any answer is going to be a subjective opinion that may not take into account all the nuances of a (your) particular circumstance." – MichaelT, Kilian Foth, Dan Pichelman, GlenH7
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 6 down vote accepted

I recommend producing some useful items to fit in any toolbox under a very liberal free software license such as the three clause BSD or MIT license.

This allows you to write re-usable code that you can actually re-use, even when working on proprietary projects. Most importantly, it gives you something to show.

This is not only the code that I've written, this is the stuff (Acme, Inc.) can start using today to solve some of the problems that we discussed.

That goes pretty far in an interview :) Most companies will gladly let you push any improvements to your public repository. Most sensible people realize that great development happens out in the open, and appreciate a dozen other people finding bugs for them. If not, just make a private fork. What is important is that:

  • You get to not only show your code, but offer it as a solution
  • The license you picked says you can do whatever you want with it

In this regard, you can have your cake and eat it too.

Note, I'm just talking about improvements to the tools that you showed them, not their entire project, when talking about development out in the open. However, you might get lucky enough to work for a completely free software outfit. If so, either permissive license is fully compatible with the most restrictive license that the FSF maintains.

Finally, if they want to take something you wrote in a whole new direction, perhaps a private fork would be best for all concerned. Or, perhaps they may realize that publishing the fork might get more customers.

Either way, you win .. and you need to do that when working specifically to make yourself more attractive to employers. I contribute to more than a few projects .. but I'm not looking for a job, or past experience to fortify me as a candidate for one .. licensing is quite incidental for me.

share|improve this answer

Every company I have interviewed for has understood that I do closed-source work, and I do not have samples of that work. They are less interested in the code that I have written than in the code I am going to write for them. This may be less true if you are applying for open-source positions.

As an interviewer, I have never asked for code samples; I have no way of knowing where that code came from, or how long it took to write. Instead, I ask the interviewee to write some code during the interview.

share|improve this answer
so your answer is to not apply for positions that require examples or code samples? – jondavidjohn Jan 2 '11 at 21:32
@jondavidjohn: I believe they call that a straw man argument. – Robert Harvey Jan 3 '11 at 1:13
just trying to figure out what you're trying to tell me about the jobs that do require them... – jondavidjohn Jan 3 '11 at 1:16
@jondavidjohn: I don't know anything about that. Maybe you've just had monumentally bad luck picking prospective employers. There's more to being a productive programmer than just writing code. Good employers know this. – Robert Harvey Jan 3 '11 at 1:18
@Robert: Do you ask questions about the kind of work they've done in the past? For instance, if they put a technology such as Struts on their resume, do you ask them how they've used it? – Michael K Jan 3 '11 at 14:31

If you need code examples, then the best approach would be to find a personal project to work on at home. It can be anything, but the important thing is that the project fills a need. It has to be something you have a reason to work on other than having a code example.

One option is to use a programming language that you don't currently work with, but would like to. You can also experiment with new programming techniques and technologies that you'd like to learn.

Even the fact that you're considering taking on a personal project is a good sign to the most desirable type of employer.

share|improve this answer

If you are preparing at an interview level, I don't think your employer should care a hoot if you are making a living out of developing closed source software or extending open source code to meet closed source specifications. You should be able to articulate in your resume the exact work that you did, and expect that you might be asked to write some related code.

Open source contributions in addition to what you do for closed source is for making an impact. Usually people do it out of passion, not for a raise or negotiating offers.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.