I had the idea that AHK might benefit from a bit more robust #Include system than what it currently does.
My proposal would be to add a new # directive that would be used the file to be included. I imagine this being used mostly for all of the various function libraries out there that are typically included. My suggestion would be to use something like or . When that file is included, all of its variables/functions/classes would be found under that single namespace. I suppose an alternative would be to simply wrap all of the variables/functions/classes into a class and use them all as static definitions.
Maybe its not a good idea. Just thought it might help with the issue of global namespace pollution... and with people prefixing their functions with weird things like initials and etc.
Propose new features and changes
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests