Asking previous company for code

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
5
down vote

favorite












Is it OK to ask your company that you worked for to provide you with some code, that you did? Because how am I supposed to show my previous work to potential employers?







share|improve this question


















  • 15




    You can certainly ask. I would be surprised if the answer was anything other than "no".
    – Justin Cave
    Nov 4 '15 at 15:00






  • 3




    Related question: What are employers looking for when they ask to see sample code?
    – David K
    Nov 4 '15 at 15:03






  • 2




    One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
    – Jon Story
    Nov 5 '15 at 11:16






  • 1




    If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
    – Francine DeGrood Taylor
    Nov 6 '15 at 22:22











  • "Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
    – Edwin Lambregts
    Nov 17 '17 at 16:15
















up vote
5
down vote

favorite












Is it OK to ask your company that you worked for to provide you with some code, that you did? Because how am I supposed to show my previous work to potential employers?







share|improve this question


















  • 15




    You can certainly ask. I would be surprised if the answer was anything other than "no".
    – Justin Cave
    Nov 4 '15 at 15:00






  • 3




    Related question: What are employers looking for when they ask to see sample code?
    – David K
    Nov 4 '15 at 15:03






  • 2




    One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
    – Jon Story
    Nov 5 '15 at 11:16






  • 1




    If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
    – Francine DeGrood Taylor
    Nov 6 '15 at 22:22











  • "Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
    – Edwin Lambregts
    Nov 17 '17 at 16:15












up vote
5
down vote

favorite









up vote
5
down vote

favorite











Is it OK to ask your company that you worked for to provide you with some code, that you did? Because how am I supposed to show my previous work to potential employers?







share|improve this question














Is it OK to ask your company that you worked for to provide you with some code, that you did? Because how am I supposed to show my previous work to potential employers?









share|improve this question













share|improve this question




share|improve this question








edited Nov 17 '17 at 17:37









William-H-M

1407




1407










asked Nov 4 '15 at 14:52









cookieMonster

2,23662035




2,23662035







  • 15




    You can certainly ask. I would be surprised if the answer was anything other than "no".
    – Justin Cave
    Nov 4 '15 at 15:00






  • 3




    Related question: What are employers looking for when they ask to see sample code?
    – David K
    Nov 4 '15 at 15:03






  • 2




    One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
    – Jon Story
    Nov 5 '15 at 11:16






  • 1




    If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
    – Francine DeGrood Taylor
    Nov 6 '15 at 22:22











  • "Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
    – Edwin Lambregts
    Nov 17 '17 at 16:15












  • 15




    You can certainly ask. I would be surprised if the answer was anything other than "no".
    – Justin Cave
    Nov 4 '15 at 15:00






  • 3




    Related question: What are employers looking for when they ask to see sample code?
    – David K
    Nov 4 '15 at 15:03






  • 2




    One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
    – Jon Story
    Nov 5 '15 at 11:16






  • 1




    If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
    – Francine DeGrood Taylor
    Nov 6 '15 at 22:22











  • "Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
    – Edwin Lambregts
    Nov 17 '17 at 16:15







15




15




You can certainly ask. I would be surprised if the answer was anything other than "no".
– Justin Cave
Nov 4 '15 at 15:00




You can certainly ask. I would be surprised if the answer was anything other than "no".
– Justin Cave
Nov 4 '15 at 15:00




3




3




Related question: What are employers looking for when they ask to see sample code?
– David K
Nov 4 '15 at 15:03




Related question: What are employers looking for when they ask to see sample code?
– David K
Nov 4 '15 at 15:03




2




2




One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
– Jon Story
Nov 5 '15 at 11:16




One thing to note - most employers don't expect to see production code from a previous employer. It's often worth writing a few small utilities for yourself for demo purposes, or contributing to open-source projects, but commercial experience is usually measured by years of experience, references, and talking to you in an interview to gauge your understanding and proficiency.
– Jon Story
Nov 5 '15 at 11:16




1




1




If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
– Francine DeGrood Taylor
Nov 6 '15 at 22:22





If you want to give prospective employers samples of your code then just write it. Presumably there is nothing that you were able to do while employed that you cannot still do when unemployed, or employed at another job. They don't care what you did for another company, only what you can do for them.
– Francine DeGrood Taylor
Nov 6 '15 at 22:22













"Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
– Edwin Lambregts
Nov 17 '17 at 16:15




"Because how am I supposed to show my previous work to potential employers?" -> if you cannot show it, i.e. something visually or physically, then simply say that you cannot. If you worked on, let's say, a website, you could refer to it and mention which pages/components/functionality you built.
– Edwin Lambregts
Nov 17 '17 at 16:15










3 Answers
3






active

oldest

votes

















up vote
14
down vote



accepted










You can certainly ask. However, when you write code for an organization, they own any and all code that you write. They will most likely say no for the following reasons:



  1. You could be taking the code to a competitor so they have a more in-depth view into their competitions processes and thus give them a business edge.


  2. You could be taking the code for yourself to start your own company that will compete with your previous one.


  3. General trade secrets that could affect market value. If your company is publicly traded, let's just say Apple in this example, and you give them code that reveals a new feature in the next iPhone, that could affect stock prices for a company. I trust you're not that dumb, but who knows.


Any intelligent company would say no to this request, but it doesn't hurt to ask. This is generally why you should contribute to open source projects or have your own projects to showcase code.






share|improve this answer
















  • 1




    As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
    – cookieMonster
    Nov 4 '15 at 15:46










  • So what's the best option to keep code with you for company you worked for apart from open source?
    – cookieMonster
    Nov 6 '15 at 23:58

















up vote
6
down vote













Good luck with that



It doesn't hurt to ask, but I would be very surprised if they gave you any code.



However, your situation is common in the industry. Just be prepared to talk about what you did, what you know, how long you've been doing this, and so on.



As an interviewer, looking at 50 lines of code isn't likely to tell me much. (Yes, there are exceptions to that statement for truly terrible code)






share|improve this answer



























    up vote
    0
    down vote













    I agree with other answers saying it is highly unlikely they will do so. However, you may have a chance if:



    • You have coded something with neither confidential information nor mechanisms which are considered strategical by the company

    • You manage to convince them to release this code under an open-source license

    I give you an example: a company I worked with built a tool to replay packets, such as tcpreplay, but with additional features. It was an internal solution, and they don't even sell software. The manager of this project persuaded the company to release the tool under an open-source license.



    As you are not in the company anymore, I would think it is going to be even more difficult though.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "423"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      noCode: true, onDemand: false,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );








       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f57144%2fasking-previous-company-for-code%23new-answer', 'question_page');

      );

      Post as a guest

























      StackExchange.ready(function ()
      $("#show-editor-button input, #show-editor-button button").click(function ()
      var showEditor = function()
      $("#show-editor-button").hide();
      $("#post-form").removeClass("dno");
      StackExchange.editor.finallyInit();
      ;

      var useFancy = $(this).data('confirm-use-fancy');
      if(useFancy == 'True')
      var popupTitle = $(this).data('confirm-fancy-title');
      var popupBody = $(this).data('confirm-fancy-body');
      var popupAccept = $(this).data('confirm-fancy-accept-button');

      $(this).loadPopup(
      url: '/post/self-answer-popup',
      loaded: function(popup)
      var pTitle = $(popup).find('h2');
      var pBody = $(popup).find('.popup-body');
      var pSubmit = $(popup).find('.popup-submit');

      pTitle.text(popupTitle);
      pBody.html(popupBody);
      pSubmit.val(popupAccept).click(showEditor);

      )
      else
      var confirmText = $(this).data('confirm-text');
      if (confirmText ? confirm(confirmText) : true)
      showEditor();


      );
      );






      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      14
      down vote



      accepted










      You can certainly ask. However, when you write code for an organization, they own any and all code that you write. They will most likely say no for the following reasons:



      1. You could be taking the code to a competitor so they have a more in-depth view into their competitions processes and thus give them a business edge.


      2. You could be taking the code for yourself to start your own company that will compete with your previous one.


      3. General trade secrets that could affect market value. If your company is publicly traded, let's just say Apple in this example, and you give them code that reveals a new feature in the next iPhone, that could affect stock prices for a company. I trust you're not that dumb, but who knows.


      Any intelligent company would say no to this request, but it doesn't hurt to ask. This is generally why you should contribute to open source projects or have your own projects to showcase code.






      share|improve this answer
















      • 1




        As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
        – cookieMonster
        Nov 4 '15 at 15:46










      • So what's the best option to keep code with you for company you worked for apart from open source?
        – cookieMonster
        Nov 6 '15 at 23:58














      up vote
      14
      down vote



      accepted










      You can certainly ask. However, when you write code for an organization, they own any and all code that you write. They will most likely say no for the following reasons:



      1. You could be taking the code to a competitor so they have a more in-depth view into their competitions processes and thus give them a business edge.


      2. You could be taking the code for yourself to start your own company that will compete with your previous one.


      3. General trade secrets that could affect market value. If your company is publicly traded, let's just say Apple in this example, and you give them code that reveals a new feature in the next iPhone, that could affect stock prices for a company. I trust you're not that dumb, but who knows.


      Any intelligent company would say no to this request, but it doesn't hurt to ask. This is generally why you should contribute to open source projects or have your own projects to showcase code.






      share|improve this answer
















      • 1




        As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
        – cookieMonster
        Nov 4 '15 at 15:46










      • So what's the best option to keep code with you for company you worked for apart from open source?
        – cookieMonster
        Nov 6 '15 at 23:58












      up vote
      14
      down vote



      accepted







      up vote
      14
      down vote



      accepted






      You can certainly ask. However, when you write code for an organization, they own any and all code that you write. They will most likely say no for the following reasons:



      1. You could be taking the code to a competitor so they have a more in-depth view into their competitions processes and thus give them a business edge.


      2. You could be taking the code for yourself to start your own company that will compete with your previous one.


      3. General trade secrets that could affect market value. If your company is publicly traded, let's just say Apple in this example, and you give them code that reveals a new feature in the next iPhone, that could affect stock prices for a company. I trust you're not that dumb, but who knows.


      Any intelligent company would say no to this request, but it doesn't hurt to ask. This is generally why you should contribute to open source projects or have your own projects to showcase code.






      share|improve this answer












      You can certainly ask. However, when you write code for an organization, they own any and all code that you write. They will most likely say no for the following reasons:



      1. You could be taking the code to a competitor so they have a more in-depth view into their competitions processes and thus give them a business edge.


      2. You could be taking the code for yourself to start your own company that will compete with your previous one.


      3. General trade secrets that could affect market value. If your company is publicly traded, let's just say Apple in this example, and you give them code that reveals a new feature in the next iPhone, that could affect stock prices for a company. I trust you're not that dumb, but who knows.


      Any intelligent company would say no to this request, but it doesn't hurt to ask. This is generally why you should contribute to open source projects or have your own projects to showcase code.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 4 '15 at 15:11









      Lawrence Aiello

      11k63155




      11k63155







      • 1




        As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
        – cookieMonster
        Nov 4 '15 at 15:46










      • So what's the best option to keep code with you for company you worked for apart from open source?
        – cookieMonster
        Nov 6 '15 at 23:58












      • 1




        As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
        – cookieMonster
        Nov 4 '15 at 15:46










      • So what's the best option to keep code with you for company you worked for apart from open source?
        – cookieMonster
        Nov 6 '15 at 23:58







      1




      1




      As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
      – cookieMonster
      Nov 4 '15 at 15:46




      As my other colleague which use to bring "snippets" from home to make it work. Isn't that a violation as my manager told me it's pretty ok to do so. So asking about my code is pretty ok so?
      – cookieMonster
      Nov 4 '15 at 15:46












      So what's the best option to keep code with you for company you worked for apart from open source?
      – cookieMonster
      Nov 6 '15 at 23:58




      So what's the best option to keep code with you for company you worked for apart from open source?
      – cookieMonster
      Nov 6 '15 at 23:58












      up vote
      6
      down vote













      Good luck with that



      It doesn't hurt to ask, but I would be very surprised if they gave you any code.



      However, your situation is common in the industry. Just be prepared to talk about what you did, what you know, how long you've been doing this, and so on.



      As an interviewer, looking at 50 lines of code isn't likely to tell me much. (Yes, there are exceptions to that statement for truly terrible code)






      share|improve this answer
























        up vote
        6
        down vote













        Good luck with that



        It doesn't hurt to ask, but I would be very surprised if they gave you any code.



        However, your situation is common in the industry. Just be prepared to talk about what you did, what you know, how long you've been doing this, and so on.



        As an interviewer, looking at 50 lines of code isn't likely to tell me much. (Yes, there are exceptions to that statement for truly terrible code)






        share|improve this answer






















          up vote
          6
          down vote










          up vote
          6
          down vote









          Good luck with that



          It doesn't hurt to ask, but I would be very surprised if they gave you any code.



          However, your situation is common in the industry. Just be prepared to talk about what you did, what you know, how long you've been doing this, and so on.



          As an interviewer, looking at 50 lines of code isn't likely to tell me much. (Yes, there are exceptions to that statement for truly terrible code)






          share|improve this answer












          Good luck with that



          It doesn't hurt to ask, but I would be very surprised if they gave you any code.



          However, your situation is common in the industry. Just be prepared to talk about what you did, what you know, how long you've been doing this, and so on.



          As an interviewer, looking at 50 lines of code isn't likely to tell me much. (Yes, there are exceptions to that statement for truly terrible code)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 4 '15 at 15:04









          Dan Pichelman

          24.5k116882




          24.5k116882




















              up vote
              0
              down vote













              I agree with other answers saying it is highly unlikely they will do so. However, you may have a chance if:



              • You have coded something with neither confidential information nor mechanisms which are considered strategical by the company

              • You manage to convince them to release this code under an open-source license

              I give you an example: a company I worked with built a tool to replay packets, such as tcpreplay, but with additional features. It was an internal solution, and they don't even sell software. The manager of this project persuaded the company to release the tool under an open-source license.



              As you are not in the company anymore, I would think it is going to be even more difficult though.






              share|improve this answer
























                up vote
                0
                down vote













                I agree with other answers saying it is highly unlikely they will do so. However, you may have a chance if:



                • You have coded something with neither confidential information nor mechanisms which are considered strategical by the company

                • You manage to convince them to release this code under an open-source license

                I give you an example: a company I worked with built a tool to replay packets, such as tcpreplay, but with additional features. It was an internal solution, and they don't even sell software. The manager of this project persuaded the company to release the tool under an open-source license.



                As you are not in the company anymore, I would think it is going to be even more difficult though.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I agree with other answers saying it is highly unlikely they will do so. However, you may have a chance if:



                  • You have coded something with neither confidential information nor mechanisms which are considered strategical by the company

                  • You manage to convince them to release this code under an open-source license

                  I give you an example: a company I worked with built a tool to replay packets, such as tcpreplay, but with additional features. It was an internal solution, and they don't even sell software. The manager of this project persuaded the company to release the tool under an open-source license.



                  As you are not in the company anymore, I would think it is going to be even more difficult though.






                  share|improve this answer












                  I agree with other answers saying it is highly unlikely they will do so. However, you may have a chance if:



                  • You have coded something with neither confidential information nor mechanisms which are considered strategical by the company

                  • You manage to convince them to release this code under an open-source license

                  I give you an example: a company I worked with built a tool to replay packets, such as tcpreplay, but with additional features. It was an internal solution, and they don't even sell software. The manager of this project persuaded the company to release the tool under an open-source license.



                  As you are not in the company anymore, I would think it is going to be even more difficult though.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 18 '17 at 16:55









                  Adam Smith

                  56110




                  56110






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f57144%2fasking-previous-company-for-code%23new-answer', 'question_page');

                      );

                      Post as a guest

















































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      Confectionery