tavurth / godot-gdscript-obfuscator

Start of the work to obfuscate GDscript
GNU General Public License v3.0
45 stars 2 forks source link

Remove type information #2

Open Hugo4IT opened 2 years ago

Hugo4IT commented 2 years ago

Removing static typing would decrease code readability, and because GDScript is dynamically typed anyway it shouldn't change functionality.

Example:

var hello: String = "world" -> var __z0="world"

The only problem I can think of is that Godot might not throw an error when an incorrect type is assigned, but a release build shouldn't have such bugs, unless your conpany is called Rockstar Games