How exactly to bring code samples to an interview? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












There have been questions similar to this, but my question is HOW exactly do you showcase your code when going to an interview? Do you show screenshots, or do you bring the actual code? Do you take the whole project with you, or just that bit of code?



Thanks!







share|improve this question












closed as off topic by Thomas Owens, bytebuster, Pawel Brodzinski, user1220, Sahil Mahajan Mj Nov 7 '12 at 6:00


Questions on The Workplace Stack Exchange are expected to relate to the workplace within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 6




    don't cross-post but flag for a moderator to move
    – ratchet freak
    Nov 6 '12 at 8:28










  • A project report would be a good idea.
    – Sahil Mahajan Mj
    Nov 6 '12 at 12:16






  • 1




    Did they ask for code samples for the interview? That's the first I've heard of doing that...
    – Rarity
    Nov 6 '12 at 13:38










  • You don't. Never done it. Never will.
    – Fernando
    Nov 6 '12 at 20:07










  • imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
    – Steve V
    Nov 8 '12 at 20:29

















up vote
1
down vote

favorite












There have been questions similar to this, but my question is HOW exactly do you showcase your code when going to an interview? Do you show screenshots, or do you bring the actual code? Do you take the whole project with you, or just that bit of code?



Thanks!







share|improve this question












closed as off topic by Thomas Owens, bytebuster, Pawel Brodzinski, user1220, Sahil Mahajan Mj Nov 7 '12 at 6:00


Questions on The Workplace Stack Exchange are expected to relate to the workplace within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 6




    don't cross-post but flag for a moderator to move
    – ratchet freak
    Nov 6 '12 at 8:28










  • A project report would be a good idea.
    – Sahil Mahajan Mj
    Nov 6 '12 at 12:16






  • 1




    Did they ask for code samples for the interview? That's the first I've heard of doing that...
    – Rarity
    Nov 6 '12 at 13:38










  • You don't. Never done it. Never will.
    – Fernando
    Nov 6 '12 at 20:07










  • imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
    – Steve V
    Nov 8 '12 at 20:29













up vote
1
down vote

favorite









up vote
1
down vote

favorite











There have been questions similar to this, but my question is HOW exactly do you showcase your code when going to an interview? Do you show screenshots, or do you bring the actual code? Do you take the whole project with you, or just that bit of code?



Thanks!







share|improve this question












There have been questions similar to this, but my question is HOW exactly do you showcase your code when going to an interview? Do you show screenshots, or do you bring the actual code? Do you take the whole project with you, or just that bit of code?



Thanks!









share|improve this question











share|improve this question




share|improve this question










asked Nov 6 '12 at 7:36









ibilic

1141




1141




closed as off topic by Thomas Owens, bytebuster, Pawel Brodzinski, user1220, Sahil Mahajan Mj Nov 7 '12 at 6:00


Questions on The Workplace Stack Exchange are expected to relate to the workplace within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as off topic by Thomas Owens, bytebuster, Pawel Brodzinski, user1220, Sahil Mahajan Mj Nov 7 '12 at 6:00


Questions on The Workplace Stack Exchange are expected to relate to the workplace within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 6




    don't cross-post but flag for a moderator to move
    – ratchet freak
    Nov 6 '12 at 8:28










  • A project report would be a good idea.
    – Sahil Mahajan Mj
    Nov 6 '12 at 12:16






  • 1




    Did they ask for code samples for the interview? That's the first I've heard of doing that...
    – Rarity
    Nov 6 '12 at 13:38










  • You don't. Never done it. Never will.
    – Fernando
    Nov 6 '12 at 20:07










  • imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
    – Steve V
    Nov 8 '12 at 20:29













  • 6




    don't cross-post but flag for a moderator to move
    – ratchet freak
    Nov 6 '12 at 8:28










  • A project report would be a good idea.
    – Sahil Mahajan Mj
    Nov 6 '12 at 12:16






  • 1




    Did they ask for code samples for the interview? That's the first I've heard of doing that...
    – Rarity
    Nov 6 '12 at 13:38










  • You don't. Never done it. Never will.
    – Fernando
    Nov 6 '12 at 20:07










  • imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
    – Steve V
    Nov 8 '12 at 20:29








6




6




don't cross-post but flag for a moderator to move
– ratchet freak
Nov 6 '12 at 8:28




don't cross-post but flag for a moderator to move
– ratchet freak
Nov 6 '12 at 8:28












A project report would be a good idea.
– Sahil Mahajan Mj
Nov 6 '12 at 12:16




A project report would be a good idea.
– Sahil Mahajan Mj
Nov 6 '12 at 12:16




1




1




Did they ask for code samples for the interview? That's the first I've heard of doing that...
– Rarity
Nov 6 '12 at 13:38




Did they ask for code samples for the interview? That's the first I've heard of doing that...
– Rarity
Nov 6 '12 at 13:38












You don't. Never done it. Never will.
– Fernando
Nov 6 '12 at 20:07




You don't. Never done it. Never will.
– Fernando
Nov 6 '12 at 20:07












imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
– Steve V
Nov 8 '12 at 20:29





imho, there is a good reason to demonstrate your code - if you can show that your code is clean (see the book named "clean code"); this might make you different from bunch of other coders
– Steve V
Nov 8 '12 at 20:29











2 Answers
2






active

oldest

votes

















up vote
8
down vote













In my whole life I've never brought code samples to an interview, and have never seen anyone do so either. And here is why:



1) Most of the code you write for work is not your property, and showing to other people is a stone's throw from industrial espionage :), that is unless you're working on an open-source product.



2) If what you're writing is open source, you will typically have github to your name where you can show everything you've participated in.



So it's usually a github account or nothing. Bringing code to the interviews is not necessary because the employer can then take a look at your code on their own time. Alternatively, you can just tell them your ID at the interview, and browse through your projects together.



*Keep in mind that a huge number of developers spend their entire lives having not written one line of open-source code.






share|improve this answer


















  • 1




    True, but not exactly an answer to the question.
    – pdr
    Nov 6 '12 at 15:02










  • @pds Good point, I tried to clarify with an edit.
    – MrFox
    Nov 6 '12 at 16:41

















up vote
2
down vote













Code samples at an interview are a dangerous prospect because, as suslik said, you probably don't own the code. If you wrote it for an employer, regardless of how general-purpose that code is, it's your employer's IP, which you were paid your salary to produce for them.



It also doesn't have to be yours. Numerous blogs, QA sites (like the SE family) and other sources for "t3h fr33 c0dez" abound. Coding languages, in general, have fewer ways to say what you need to say, and combined with "best practices" and refactoring assistants, two knowledgeable coders' implementations of a QuickSort algorithm could differ only cosmetically (and cosmetic changes are the easiest to make to somehting you sneak off the interwebz).



In addition, I dunno about the rest of the development world, but code I write "on my own time" is typically not code I'd like to show off. That code is stuff I create for my own enjoyment, usually without a huge amount of attention paid to architecture or documentation, because it's code that's only "right" (not only correct but well-organized and well-formatted) to the extent I need it to be so.



Lastly, hiring managers don't tend to be coders. They may have worked their way up through the dev team hierarchy, but their job now, as a manager, is to tell you what they want coded, and send you off to go do it. They're not really interested in your exact solution; their concerns are related to the finished product. Does it work? Does it look good (for client-facing apps)? Does it perform well? Those are things that are difficult for you to demonstrate you can do with a code sample. They're much easier to demonstrate with a beefy resume of your past work, plus references from those past jobs that tell your prospective employer how impressed they were with your work.



As a result, I say don't bring code, unless it's your solutions to interview prep problems they give you. Instead, bring knowledge of the company, the industry they're in, the language/framework they're looking for (and others that may get the job done better), object-oriented design patterns and principles, data modeling, etc. Show them you know your stuff, and that you know their stuff, and you'll make yourself a hot commodity.






share|improve this answer



























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    8
    down vote













    In my whole life I've never brought code samples to an interview, and have never seen anyone do so either. And here is why:



    1) Most of the code you write for work is not your property, and showing to other people is a stone's throw from industrial espionage :), that is unless you're working on an open-source product.



    2) If what you're writing is open source, you will typically have github to your name where you can show everything you've participated in.



    So it's usually a github account or nothing. Bringing code to the interviews is not necessary because the employer can then take a look at your code on their own time. Alternatively, you can just tell them your ID at the interview, and browse through your projects together.



    *Keep in mind that a huge number of developers spend their entire lives having not written one line of open-source code.






    share|improve this answer


















    • 1




      True, but not exactly an answer to the question.
      – pdr
      Nov 6 '12 at 15:02










    • @pds Good point, I tried to clarify with an edit.
      – MrFox
      Nov 6 '12 at 16:41














    up vote
    8
    down vote













    In my whole life I've never brought code samples to an interview, and have never seen anyone do so either. And here is why:



    1) Most of the code you write for work is not your property, and showing to other people is a stone's throw from industrial espionage :), that is unless you're working on an open-source product.



    2) If what you're writing is open source, you will typically have github to your name where you can show everything you've participated in.



    So it's usually a github account or nothing. Bringing code to the interviews is not necessary because the employer can then take a look at your code on their own time. Alternatively, you can just tell them your ID at the interview, and browse through your projects together.



    *Keep in mind that a huge number of developers spend their entire lives having not written one line of open-source code.






    share|improve this answer


















    • 1




      True, but not exactly an answer to the question.
      – pdr
      Nov 6 '12 at 15:02










    • @pds Good point, I tried to clarify with an edit.
      – MrFox
      Nov 6 '12 at 16:41












    up vote
    8
    down vote










    up vote
    8
    down vote









    In my whole life I've never brought code samples to an interview, and have never seen anyone do so either. And here is why:



    1) Most of the code you write for work is not your property, and showing to other people is a stone's throw from industrial espionage :), that is unless you're working on an open-source product.



    2) If what you're writing is open source, you will typically have github to your name where you can show everything you've participated in.



    So it's usually a github account or nothing. Bringing code to the interviews is not necessary because the employer can then take a look at your code on their own time. Alternatively, you can just tell them your ID at the interview, and browse through your projects together.



    *Keep in mind that a huge number of developers spend their entire lives having not written one line of open-source code.






    share|improve this answer














    In my whole life I've never brought code samples to an interview, and have never seen anyone do so either. And here is why:



    1) Most of the code you write for work is not your property, and showing to other people is a stone's throw from industrial espionage :), that is unless you're working on an open-source product.



    2) If what you're writing is open source, you will typically have github to your name where you can show everything you've participated in.



    So it's usually a github account or nothing. Bringing code to the interviews is not necessary because the employer can then take a look at your code on their own time. Alternatively, you can just tell them your ID at the interview, and browse through your projects together.



    *Keep in mind that a huge number of developers spend their entire lives having not written one line of open-source code.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 6 '12 at 16:40

























    answered Nov 6 '12 at 14:52









    MrFox

    11.8k33857




    11.8k33857







    • 1




      True, but not exactly an answer to the question.
      – pdr
      Nov 6 '12 at 15:02










    • @pds Good point, I tried to clarify with an edit.
      – MrFox
      Nov 6 '12 at 16:41












    • 1




      True, but not exactly an answer to the question.
      – pdr
      Nov 6 '12 at 15:02










    • @pds Good point, I tried to clarify with an edit.
      – MrFox
      Nov 6 '12 at 16:41







    1




    1




    True, but not exactly an answer to the question.
    – pdr
    Nov 6 '12 at 15:02




    True, but not exactly an answer to the question.
    – pdr
    Nov 6 '12 at 15:02












    @pds Good point, I tried to clarify with an edit.
    – MrFox
    Nov 6 '12 at 16:41




    @pds Good point, I tried to clarify with an edit.
    – MrFox
    Nov 6 '12 at 16:41












    up vote
    2
    down vote













    Code samples at an interview are a dangerous prospect because, as suslik said, you probably don't own the code. If you wrote it for an employer, regardless of how general-purpose that code is, it's your employer's IP, which you were paid your salary to produce for them.



    It also doesn't have to be yours. Numerous blogs, QA sites (like the SE family) and other sources for "t3h fr33 c0dez" abound. Coding languages, in general, have fewer ways to say what you need to say, and combined with "best practices" and refactoring assistants, two knowledgeable coders' implementations of a QuickSort algorithm could differ only cosmetically (and cosmetic changes are the easiest to make to somehting you sneak off the interwebz).



    In addition, I dunno about the rest of the development world, but code I write "on my own time" is typically not code I'd like to show off. That code is stuff I create for my own enjoyment, usually without a huge amount of attention paid to architecture or documentation, because it's code that's only "right" (not only correct but well-organized and well-formatted) to the extent I need it to be so.



    Lastly, hiring managers don't tend to be coders. They may have worked their way up through the dev team hierarchy, but their job now, as a manager, is to tell you what they want coded, and send you off to go do it. They're not really interested in your exact solution; their concerns are related to the finished product. Does it work? Does it look good (for client-facing apps)? Does it perform well? Those are things that are difficult for you to demonstrate you can do with a code sample. They're much easier to demonstrate with a beefy resume of your past work, plus references from those past jobs that tell your prospective employer how impressed they were with your work.



    As a result, I say don't bring code, unless it's your solutions to interview prep problems they give you. Instead, bring knowledge of the company, the industry they're in, the language/framework they're looking for (and others that may get the job done better), object-oriented design patterns and principles, data modeling, etc. Show them you know your stuff, and that you know their stuff, and you'll make yourself a hot commodity.






    share|improve this answer
























      up vote
      2
      down vote













      Code samples at an interview are a dangerous prospect because, as suslik said, you probably don't own the code. If you wrote it for an employer, regardless of how general-purpose that code is, it's your employer's IP, which you were paid your salary to produce for them.



      It also doesn't have to be yours. Numerous blogs, QA sites (like the SE family) and other sources for "t3h fr33 c0dez" abound. Coding languages, in general, have fewer ways to say what you need to say, and combined with "best practices" and refactoring assistants, two knowledgeable coders' implementations of a QuickSort algorithm could differ only cosmetically (and cosmetic changes are the easiest to make to somehting you sneak off the interwebz).



      In addition, I dunno about the rest of the development world, but code I write "on my own time" is typically not code I'd like to show off. That code is stuff I create for my own enjoyment, usually without a huge amount of attention paid to architecture or documentation, because it's code that's only "right" (not only correct but well-organized and well-formatted) to the extent I need it to be so.



      Lastly, hiring managers don't tend to be coders. They may have worked their way up through the dev team hierarchy, but their job now, as a manager, is to tell you what they want coded, and send you off to go do it. They're not really interested in your exact solution; their concerns are related to the finished product. Does it work? Does it look good (for client-facing apps)? Does it perform well? Those are things that are difficult for you to demonstrate you can do with a code sample. They're much easier to demonstrate with a beefy resume of your past work, plus references from those past jobs that tell your prospective employer how impressed they were with your work.



      As a result, I say don't bring code, unless it's your solutions to interview prep problems they give you. Instead, bring knowledge of the company, the industry they're in, the language/framework they're looking for (and others that may get the job done better), object-oriented design patterns and principles, data modeling, etc. Show them you know your stuff, and that you know their stuff, and you'll make yourself a hot commodity.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        Code samples at an interview are a dangerous prospect because, as suslik said, you probably don't own the code. If you wrote it for an employer, regardless of how general-purpose that code is, it's your employer's IP, which you were paid your salary to produce for them.



        It also doesn't have to be yours. Numerous blogs, QA sites (like the SE family) and other sources for "t3h fr33 c0dez" abound. Coding languages, in general, have fewer ways to say what you need to say, and combined with "best practices" and refactoring assistants, two knowledgeable coders' implementations of a QuickSort algorithm could differ only cosmetically (and cosmetic changes are the easiest to make to somehting you sneak off the interwebz).



        In addition, I dunno about the rest of the development world, but code I write "on my own time" is typically not code I'd like to show off. That code is stuff I create for my own enjoyment, usually without a huge amount of attention paid to architecture or documentation, because it's code that's only "right" (not only correct but well-organized and well-formatted) to the extent I need it to be so.



        Lastly, hiring managers don't tend to be coders. They may have worked their way up through the dev team hierarchy, but their job now, as a manager, is to tell you what they want coded, and send you off to go do it. They're not really interested in your exact solution; their concerns are related to the finished product. Does it work? Does it look good (for client-facing apps)? Does it perform well? Those are things that are difficult for you to demonstrate you can do with a code sample. They're much easier to demonstrate with a beefy resume of your past work, plus references from those past jobs that tell your prospective employer how impressed they were with your work.



        As a result, I say don't bring code, unless it's your solutions to interview prep problems they give you. Instead, bring knowledge of the company, the industry they're in, the language/framework they're looking for (and others that may get the job done better), object-oriented design patterns and principles, data modeling, etc. Show them you know your stuff, and that you know their stuff, and you'll make yourself a hot commodity.






        share|improve this answer












        Code samples at an interview are a dangerous prospect because, as suslik said, you probably don't own the code. If you wrote it for an employer, regardless of how general-purpose that code is, it's your employer's IP, which you were paid your salary to produce for them.



        It also doesn't have to be yours. Numerous blogs, QA sites (like the SE family) and other sources for "t3h fr33 c0dez" abound. Coding languages, in general, have fewer ways to say what you need to say, and combined with "best practices" and refactoring assistants, two knowledgeable coders' implementations of a QuickSort algorithm could differ only cosmetically (and cosmetic changes are the easiest to make to somehting you sneak off the interwebz).



        In addition, I dunno about the rest of the development world, but code I write "on my own time" is typically not code I'd like to show off. That code is stuff I create for my own enjoyment, usually without a huge amount of attention paid to architecture or documentation, because it's code that's only "right" (not only correct but well-organized and well-formatted) to the extent I need it to be so.



        Lastly, hiring managers don't tend to be coders. They may have worked their way up through the dev team hierarchy, but their job now, as a manager, is to tell you what they want coded, and send you off to go do it. They're not really interested in your exact solution; their concerns are related to the finished product. Does it work? Does it look good (for client-facing apps)? Does it perform well? Those are things that are difficult for you to demonstrate you can do with a code sample. They're much easier to demonstrate with a beefy resume of your past work, plus references from those past jobs that tell your prospective employer how impressed they were with your work.



        As a result, I say don't bring code, unless it's your solutions to interview prep problems they give you. Instead, bring knowledge of the company, the industry they're in, the language/framework they're looking for (and others that may get the job done better), object-oriented design patterns and principles, data modeling, etc. Show them you know your stuff, and that you know their stuff, and you'll make yourself a hot commodity.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 6 '12 at 23:02









        KeithS

        2,085912




        2,085912












            Comments

            Popular posts from this blog

            Long meetings (6-7 hours a day): Being “babysat” by supervisor

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Confectionery