Well, it's not like they pay you to write code for them right?
It is only fair that your are, in theory, not allowed to reuse the code who wrote for them at your next gig. And to be clear, we all do it. If you've implemented it once you can redo it in no time.
Re:Coding as a Career Isn't Right for Me
by derekp7 on Saturday January 30, 2016 @07:57PM
(#11004684)
I agree that it is fair, it just kind of hurts a bit is all. Especially if you did something you are real proud of.
I wish there were more programming jobs that were similar to photography -- you get hired to do a shoot, the customer gets a copy, but you keep the copyrights.
So it really seems like you are giving up a piece of your mind whenever you program for someone else. For an example of what I'm talking about, see XKCD 664.