Charlton,
I practiced law for 17 years before I changed careers to IT. I was
licensed in two states. I mostly practiced commercial and consumer
law, domestic relations and insolvency, and didn't get into the IP
area at all, so I freely admit that I am not versed in the area.
However, I ~do~ understand the legal system and the dynamics of how
this plays out in a business setting.
What you say may (note: 'may') be true from a theoretical standpoint,
but I would be very, very surprised if it became a problem. Yesterday
afternoon, I mentioned this to my boss, bigger boss, and biggest boss,
and they all thought I had gone bonkers. I write some code, borrow
some code, steal some code, move it around, use it for purposes both
public and private, official and unofficial. I DON'T(!!!) use stuff
that the RIAA or the MPA would be concerned about, don't download or
copy movies or songs, don't copy books. But when it comes to my work
product, I view that as grist for the mill. After all, what's the
difference if I write code for work, then go to a second job and write
essentially the identical code to solve the same problem, and then go
home and write essentially the same code to some the same problem for
a non-profit that I volunteer for?
You are the only person that seems to think it is a problem. Let's
leave it that way.
This is extremely unprofessional behavior, *because* of the intellectual
property issues it creates. There should be a clear line between what
the university owns and what you own, and the difference should be made
clear in writing.
When your employer pays you to do the work, in the absence of a contract
to the contrary, the code you write is the intellectual property of the
employer. If you do not want this to be the case, you need to get
something in writing from your employer that says otherwise.
In particular, if you take code that belongs to your current employer
and use it for your new employer, you are violating intellectual
property rights and exposing both your old employer and your new
employer to lawsuits. You don't have the rights to the code you wrote
for hire; your current employer would need to license the code to your
new employer.
You may find it arrant nonsense, but for the most part, it's the law,
and you have a professional obligation to behave ethically. Playing
fast and loose with this sort of thing is a very good way to torpedo
your consulting career before it gets off the ground.
I think you and I probably have very different ideas of ethics. I am
very familiar with professional codes of conduct, and have even
violated a few of them, both intentionally and unknowingly. I am
familiar with the various codes that have been proposed for SWEs,
although I don't think that any have been officially adopted. Ethics
and morals are two totally different things. I don't have any
compunction about violating codes of ethics, which after all are
merely codifications of what a particular group thinks at a particular
time and frequently changes, sometimes 180 degrees. Morals never
change and are a constant in an inconstant world.
But I digress ... have a nice day, and no hard feelings.
CC