DEV Community

Discussion on: Preventing Intellectual Property Theft with Jscrambler

Collapse
 
jayjeckel profile image
Jay Jeckel • Edited

A second example of IP theft [...] Competitors may go through the app’s source code to analyze the logic of these algorithms, allowing them to mimic their behavior

That's not IP theft. No one owns the logic of an algorithm, just as no one owns the steps of a recipe.

And code obfuscation is, at best, an ethically questionable action, especially if that obfuscation adds nonsense like var N=2;for(;N !=== 9;) that does nothing other than waste the user's cpu cycles.

More over, if the project uses any open source code, then obfuscation is blatantly unethical. You shouldn't be using other people's code if you are so strongly against other people using your code.

The purpose of the internet is the free and open exchange of information. If you don't want your code freely and openly exchanged, then you shouldn't put it on the internet.