06-09-2023, 07:12 PM
There is one thing that occurred to me.
What if your code is a "trade secret" you want to protect, but some reason you have to post it somewhere or you have to share it with someone?
Without OPTION _EXPLICIT you would have to look for another programming language to do obfuscation.
With a language like Freebasic which enforces OPTION _EXPLICIT without needing a similar code line, in its normal programming mode, you could get away with object-oriented programming only with "A", "B", "C" and "D" as variables throughout, if you're clever enough. If the language featured case-sensitive variables then "A", "a", "B" and "b" would have boggled the mind even more...
I have actually seen such an example (of C++ code) as an "advertisement" somewhere inside MSDN.
What if your code is a "trade secret" you want to protect, but some reason you have to post it somewhere or you have to share it with someone?
Without OPTION _EXPLICIT you would have to look for another programming language to do obfuscation.
With a language like Freebasic which enforces OPTION _EXPLICIT without needing a similar code line, in its normal programming mode, you could get away with object-oriented programming only with "A", "B", "C" and "D" as variables throughout, if you're clever enough. If the language featured case-sensitive variables then "A", "a", "B" and "b" would have boggled the mind even more...
I have actually seen such an example (of C++ code) as an "advertisement" somewhere inside MSDN.