As said in the quote, command syntax removal alone might be not a good reason to create a new extension, and many (most?) functions already exist in 1.1. Sure, 2.0a brought new GUI structure and that sort of thing, but some other behaviours were actually changed (such as forced-expression isn't a thing any more I think, since everything acts as function, therefore is expression by default? Correct me if I'm wrong).lexikos wrote:I don't see any connection between this and that. If you and others wish to discuss it, please start a new topic. The main thing stopping me from using a new file extension is that there are none that feel right.guest3456 wrote:Because of this change, should discussion be revisited about moving to a new file extension?
What I am concerned about is the "historical burden" - backwards compatibility. AHK exists for many years and plenty scripts/libraries has been written throughout the time. Search engines still frequently show up old forum results on top, even mentioning AHK_L as a branch back then. This leads to fact that in the future people might stumble upon code that no longer works with 2.0, maybe doesn't even do work with current 1.1. Assuming the code was downloaded as a file (which I suspect is often the case for projects shared on GitHub), one should notice that the extension is different. Sure it's not much, but always something to tell a part between versions.
Secondly, making a new extension allows to easily tell a part which exe (1.1 or 2.0) the script should run with due to Windows' file-association, also as tell the text editor of choice which syntax it should be highlighting and suggest/auto-complete functions or methods.
Lastly, to combine the two points above, forum code tag could have added code=autohotkey2 (or code=ahk2) to tell on sight this has been made for AHK2, highlighting syntax properly (rather than mess up with the previous) and linking to 2.0 documentation.
The argument against is that other languages usually don't make new extensions when they make major update, but on other hand they don't change the syntax that much either.