![]() Since equal-sign will be used exclusively by expressions in v2, some new method of doing an old-style assignment seems desirable. Lesser Change: Replacement for the v1 equal-sign operator However, some new features should be introduced or at least considered, especially ones that would otherwise break compatibility if they were introduced after v2. ![]() In light of this, it seems best to make v2 not primarily about "new features" because that would produce a costly delay in its release. With each passing day, more users begin using AutoHotkey, increasing the total number of people who must tolerate these problems. Even after users get used to it, they're still prone to type = instead of :=, which is a big source of script-bugs. The equal-sign operator does not assign an expression, so statements like x=y produce a counterintuitive effect.IF-statements must usually be enclosed in parentheses to be expressions, which is a big source of confusion and script-bugs.The burden of maintaining backward compatibility with legacy features reduces the usability and convenience of the language. ![]()
0 Comments
Leave a Reply. |