Code ownership, or who actually owns the copyright to the code that was produced, is both a local and an international issue - as many companies enter into contracts thinking that they have code ownership, while the programmers also go into the same contracts thinking that they have code ownership. The laws in different countries may vary on who is right, so it is important to spell these issues out clearly in contracts that are binding in multiple jurisdictions.
