Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
    All this talk about "ooh, it's proprietary!" and companies wanting to steal from another company's codebase by taking it from you is frankly totally out of proportion.

Certainly there's one monk here who found out the hard way that an agreement with one's employer can have a real impact on how you're supposed to behave.

From a technology point of view, I agree with you -- seeing someone else's script that does input validation then puts data into a database, or takes stuff out and displays it, is all pretty boring.

From a legal or ethical point of view, things change. That's the part that carries more weight in this situation -- is it ethical for me to show off some of my current employer's code if I'm under an NDA? I'm pretty certain the answer is, "No, I'm not allowed to do that".

One solution is to write some code that you own alone, maybe even samples that have been posted on this site. My local example is something I really did write myself and shows that at one time I was able to wrap my brain around writing some Object Oriented Perl -- albeit just a single module. I am currently working on something that's a bit more complicated, but it's not done yet.

    I certainly don't consider it a character flaw if a programmer wants to show me some random chunk of code from a previous employer.

Perhaps with the previous employer's blessing that would be OK -- or possibly for some code that's way out of date -- like some C code I write wrote 15 years ago. Otherwise, I disagree -- proprietary code is proprietary code.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Update: Fixed typo.


In reply to Re^2: Code Samples and Previous Employers by talexb
in thread Code Samples and Previous Employers by friedo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-24 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found