Question: I have created code with a friend, who owns the intellectual property?
Answer:It depends. If you have created code with a friend, splitting up intellectual property can be difficult and can potentially lead to a dispute. If it is unclear you should have an intellectual property agreement drafted early to set out the division of ownership, equally or otherwise, between you and the person you developed the code with.