On 17/03/2016 16:27, Mark Wieder wrote:
On 03/17/2016 07:02 AM, Richard Gaskin wrote:
> "!=" is a good solution (as it is one out of the ASCCI 7-bit range).
Agreed. I was very impressed Mark Wieder implemented that as quickly as
he did - thanks Mark!
<sigh>
@mwieder: Thanks for your contribution. Unfortunately, though, we don't
feel it is an appropriate addition to the LiveCode language.
In the interests of completeness, maybe it would be helpful to quote the
comment [1] fully:
@mwieder: Thanks for your contribution. Unfortunately, though, we don't feel it
is an appropriate addition to the LiveCode language.
The addition of synonyms to the language has been discussed at length in the
past, and the general consensus has been that it is better that the core
language have one way of naming each thing rather than a multitude.
We don't see that adding "!=" and "!" to the language solves any real problem. Indeed, we already have "<>" as a
synonym for "is not" which is a widely established symbol for the given operator. At the end of the day, each programming language chooses its
own set of symbols for the common operators - for example, C also has "==" for equality, LiveCode has "is" or "=".
In the future, Open Language will allow people to add their own sets of
operators which appeal to their personal taste but in a fashion which is far
more modular. We feel that that would be the correct time to experiment with
such language additions rather than overloading the core with synonyms.
Peter
[1] https://github.com/livecode/livecode/pull/3754#issuecomment-197929928
--
Dr Peter Brett <peter.br...@livecode.com>
LiveCode Open Source Team
LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode