CyL0N wrote: ↑12 Nov 2018, 03:42
especially not in a scripting language whose greatest value is saving us time.
Yha, like writing a thousand of lines script and just to find out in the end that the script is so buggy that can't even be fixed!
I believe that Global declaration is the culprit of most bugs\errors generated by ahk scripts!
I already saw a lot of people begging for help because their thousand of lines scripts are just unusable because of unknown\undetectable bugs\errors, and believe me, no one can find a workaround to fix them!
The above never happened to me because I am very careful when I write my scripts, the problem is that being too careful requires time, patience, it's tedious and makes all the process of writing scripts too slow!
The most essential thing here to note is that, Global variables cause too many problems, yes, too many problems! (Not using them is the best way to go!)