Stealing is always there, if its too easy to write, its probably too easy to steal as well. If its too easy to steal, there is nothing unique and it is really not worth anything. Most developers don't steal code, they know how to find it free and how to build it. Mostly they are after the database, clientele and private information shared by customer and users. Idea is worth nothing.
The only way to protect algorithm is to make an API and provide an interface and hide the code in server. And if you wish to sell it and make it public, you can patent it. But nobody is after patented algorithm as well, they are only after business. Only when you start making millions, people will try to steal your idea.
Stealing is always there, if its too easy to write, its probably too easy to steal as well. If its too easy to steal, there is nothing unique and it is really not worth anything. Most developers don't steal code, they know how to find it free and how to build it. Mostly they are after the database, clientele and private information shared by customer and users. Idea is worth nothing.
The only way to protect algorithm is to make an API and provide an interface and hide the code in server. And if you wish to sell it and make it public, you can patent it. But nobody is after patented algorithm as well, they are only after business. Only when you start making millions, people will try to steal your idea.
Well said Akash!