Page 1 of 1

remove all commands

Posted: 15 Feb 2014, 18:52
by amnesiac
I have read through the v2-thoughts. v2 sounds like it is just a transition vesion now.
Why not remove all commands to get better consistency (use functions, built-in var or object to replace it)?

Re: v2-thoughts Discussion

Posted: 15 Feb 2014, 19:35
by fincs
In fact, 'commands' and 'functions' are planned to become the same thing in the final version of AHKv2, according to lexikos. Currently ex-commands can be called with function syntax and viceversa.

Re: v2-thoughts Discussion

Posted: 15 Feb 2014, 19:57
by amnesiac
fincs wrote:In fact, 'commands' and 'functions' are planned to become the same thing in the final version of AHKv2, according to lexikos. Currently ex-commands can be called with function syntax and viceversa.
Thanks for your explanation. What I worry about is that if I move to v2 now, it may be a great trouble when v2 may break the compatibility some day.

Re: v2-thoughts Discussion

Posted: 15 Feb 2014, 20:15
by lexikos
fincs wrote:StdLib: Yes to everything.
There are two mutually-exclusive possibilities presented under the Standard Library heading. You can't have everything.
fincs wrote:Replace default base object with Value, String, Integer, Float and Object classes.
What is your view on reserving these names for this purpose? I am against it.

amnesiac wrote:What I worry about is that if I move to v2 now, it may be a great trouble when v2 may break the compatibility some day.
I don't think that's relevant to this thread, but anyway,
[url=http://ahkscript.org/v2/]Recently[/url], I wrote: As the feature set, behaviour and syntax aren't yet set in stone, [v2] is not recommended for general use.

Re: v2-thoughts Discussion

Posted: 15 Feb 2014, 20:32
by amnesiac
lexikos wrote:
amnesiac wrote:What I worry about is that if I move to v2 now, it may be a great trouble when v2 may break the compatibility some day.
I don't think that's relevant to this thread, but anyway,
Sorry for that. Maybe I should post it to the Wish List? Please feel free to move it (and this maybe) to the appropriate place.
lexikos wrote: I don't think that's relevant to this thread, but anyway,
[url=http://ahkscript.org/v2/]Recently[/url], I wrote: As the feature set, behaviour and syntax aren't yet set in stone, [v2] is not recommended for general use.
Thank you. I would move to v2 after its syntax is stable.