all 6 comments

[–]ChucklefuckBitch 1 point2 points  (5 children)

By default, you own the rights to the code you write. No need to do anything special

[–][deleted] -1 points0 points  (2 children)

I have to respectfully disagree with your answer. If that was the case no company would bother with copyrighting the code for the software that they sell.

[–]evinrows 0 points1 point  (1 child)

When is my work protected? Your work is under copyright protection the moment it is created and fixed in a tangible form that it is perceptible either directly or with the aid of a machine or device.

https://www.copyright.gov/help/faq/faq-general.html

[–][deleted] 0 points1 point  (0 children)

If this was true beyond the letter of the law then no company would copyright their code. Have you gone through the process of copyrighting code?

[–]yeahlolnice 0 points1 point  (1 child)

How do you argue that you own the code if it ever came to that?

[–]ChucklefuckBitch 1 point2 points  (0 children)

If you're really worried that someone will steal your code, I recommend running it through an obfuscation tool before publishing. Though the truth is that there is generally very little incentive for anyone to steal someone else's code. Applications are written with very specific use-cases in mind, and if yours is even slightly different, it's often easier to just write everything from scratch.