It really does depend on the work contract, as to who actually owns the code and design (i noticed this in the contract for my new job and it's something i'm thinking of contesting ).... and as scills says, once you know how to do something, then there's no reason why you shouldn't be able to use that knowledge again....