> They're paying for me to write them software, they're getting it, and I keep what is already mine. Winners all the way around.
Except that you just took money out of their pockets to write something that you already had.
Re:Ask HN: Using personal code at work
by randallsquared on Saturday May 16, 2009 @04:16PM
(#612555)
If they're happy with the software they got at the price, the labor (or lack thereof) that went into it doesn't matter. Of course, if he's being paid by the hour, it might be different, but I'm sure he wouldn't be padding time like that if he were.
What I have often done, however, is write another version of basically the same thing, but only what I need for the job at hand. I never use the same program or variable names. I want it to look like I wrote it just for them, which technically, I did. Sometimes I bring a hard copy and sometimes I cut and paste a little from my gmail account, but usually I just rewrite most of it from memory (which is good practice, too.)
They're paying for me to write them software, they're getting it, and I keep what is already mine. Winners all the way around.