Page 1 of 1
Code samples for Job interviews
Posted: Wed Jun 13, 2012 12:16 am
by mattheweston
I have a recruiter that is in the process of scheduling an interview and he told me that I need to have a code sample ready. Seeing as I have not had to do this before has anyone ever been in a situation where you've either had to submit a code sample or better yet asked a
candidate to bring on in for an interview?
Anyone have some good advice?
Re: Code samples for Job interviews
Posted: Wed Jun 13, 2012 7:51 am
by superLED
I guess he wants you to go over the code and let you explain in detail how and why you did this and that.. the amount of comments, style (line-breaks and white-space).
So I would go for a sample where you show how you tend to lay out your code, and how you use different elements in the chosen programming language.
Re: Code samples for Job interviews
Posted: Wed Jun 13, 2012 4:12 pm
by dandymcgee
I would find a small project you've written that is very clean and straightforward, but not stupidly simple (guess the number). Personally, I would probably submit something from my Data Structures course like a templated custom Queue class (unless a different language is specified).
Re: Code samples for Job interviews
Posted: Wed Jun 13, 2012 9:06 pm
by JarrodParkes
What Dandy said is along the lines of what I was thinking. Anything that displays some attention to design decisions and patterns. Some employers even like to see UML's, etc. but that is more of a per-case thing. Avoid getting too complex, but if you can demonstrate something that is eloquent and optimized, I'm sure they will be impressed.