You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way obfuscate is used with setters/getters is rather unusual. It should probably just be a obfuscate static+instance method and a deobfuscate static method.
IMO, using getters/setters like this doesn't adequately communicate the intent of the code, the telltale sign being that obfuscate and deobfuscate are verbs, thus should probably be functions, rather than properties.
Also, this gets rid of the need for a dummy object during deobfuscation i.e. emptyFoo.
The text was updated successfully, but these errors were encountered:
The way obfuscate is used with setters/getters is rather unusual. It should probably just be a obfuscate static+instance method and a deobfuscate static method.
i.e. instead of:
More like:
IMO, using getters/setters like this doesn't adequately communicate the intent of the code, the telltale sign being that
obfuscate
anddeobfuscate
are verbs, thus should probably be functions, rather than properties.Also, this gets rid of the need for a dummy object during deobfuscation i.e.
emptyFoo
.The text was updated successfully, but these errors were encountered: