Comment by EMIRELADERO
Someone could still get the uncopyrightable ideas out of it though.
Sort of. There may also be pantents involved. It'll be specially hard to defend against it when your inspiration came from the patented code itself.
Assuming code can even be patented, which generally it cannot.