Slashdot Mirror


Where Should I Get My Job Interview Code Samples?

crlove asks: "I'm preparing for an upcoming job interview and my interviewer will want to see some code samples. Unfortunately, all of the coding I've done work-wise since college is not only proprietary, but often classified. To be honest, with long days at work and a busy life outside of it, I haven't had much time to code on my own. So, what should I show my interviewer? Should I start working up some code samples? If so, what would be considered sufficiently complex to take to an interview?"

11 of 249 comments (clear)

  1. Easy solution by Anonymous Coward · · Score: 5, Funny

    If you dont have time, pay someone on rentacoder.com to write something for you.

  2. If you can't think of anything by dcapel · · Score: 5, Funny

    You can always "lift" some snippets from here.

    --
    DYWYPI?
  3. find theirs by Amouth · · Score: 4, Funny

    if your really good you get a hold of their code fix it and give it back to him in the interview - personaly i like the idea of handing the person being interviewed something from the cbfuscated C contest and ask them to take 5 min and tell me what it does - if they know you show them (seen it before) hire them... if they can manage to read it in 5 min and know what it does having never seen it before - hire them.. if they just look at you dumb.. send them home.

    but that is my personal view..

    --
    '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  4. Re:A total waste of time by earnest+murderer · · Score: 4, Funny

    I agree.

    But since they asked, you might as well think big.

    --
    Platform advocacy is like choosing a favorite severely developmentally disabled child.
  5. Here's a code sample from my younger days... by __aaclcg7560 · · Score: 3, Funny

    10 rem My first program... :P
    20 print "HELLO, WORLD!"
    30 goto 20

  6. Just say you invented this: by bunbuntheminilop · · Score: 5, Funny

    float InvSqrt (float x){
    float xhalf = 0.5f*x;
    int i = *(int*)
    i = 0x5f3759df - (i>>1);
    x = *(float*)
    x = x*(1.5f - xhalf*x*x);
    return x;
    }

  7. Re:Be honest! by camperdave · · Score: 5, Funny

    FYI, most people call them the late 80's.

    --
    When our name is on the back of your car, we're behind you all the way!
  8. Re:Why is asking for code samples a bad sign? by camperdave · · Score: 4, Funny

    He can drop his pants and shit better code than I ever could... He isn't pleasant to be around.

    He probably isn't pleasant to be around because of his coding style.

    --
    When our name is on the back of your car, we're behind you all the way!
  9. Re:A total waste of time by BadAnalogyGuy · · Score: 4, Funny

    If loving Perl be wrong, I don't wanna be right.

  10. Re:Be honest! by 91degrees · · Score: 5, Funny

    That's a shame. I was hoping you could tell me how to get some work in 1973.

  11. Re:Be honest! by UtucXul · · Score: 4, Funny
    Ask questions about it. They usually show very quickly if you understand the code. Then there are four possibilities:
    1. The code isn't yours and you don't understand it. Bad. You're out.
    2. The code is yours and you don't understand it. Also bad. Also out.
    This is grossly unfair to Perl programmers. You don't really expect us to understand every regex we wrote months (or days) ago, do you?