title: How to protect your software code?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/109997/how-do-you-protect-your-software-from-illegal-distribution">How do you protect your software from illegal distribution?</a><br>
    <a href="https://stackoverflow.com/questions/1700567/best-practice-to-prevent-software-copy">Best practice to prevent software copy</a>  </p>
  </blockquote>
  
  
  
  <p><strong>Hypothetical situation:</strong></p>
  
  <p>Lets say I have built a software product from the scratch and it does wonderful things. The only problem is that, once someone takes a look at the code, they will understand it very easily and they can easily build it up themselves. </p>
  
  <p>Now, the thing is that I built the code from the scratch 100% and uses a mixture of API calls.
  Nobody else is involved in the development of the code.</p>
  
  <p>If I want to sell this product, what is the guarantee that someone much smarter than me will reverse engineer the whole thing and come up with better product?</p>
  
  <p>Right now I am thinking of fragmenting the whole code. Adding lots of redundant code and tonnes of comments. </p>
  
  <p>Is there any software which encrypts the software code, that will make debugging, troubleshooting, and understanding how the code works virtually impossible? and yet runs as usual? so that the developer can have peace of mind?</p>