[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ~= vs. !=
- From: Terry Bayne <tbayne@...>
- Date: Wed, 26 Nov 2003 23:29:08 -0600
Just to add my .02 to this conversation - and yes it has been a long time since I have posted.
The ~= has bit me more times than I can easily count, and since I embedded LUA in a commercial product, has bitten a number of my customers and several support staff members as well.
I would vote for a change to either <> or !=, but if the change is made also leave support for ~= in place, but depreciate it's usage to maintain backward compatibility.
And my final point has to do with the argument that LUA is LUA not C or C++ or anything else - and while this is true, I don't find it relevant to the discussion.... LUA is usually "hosted" by a program written in some other language - most notably C or C++ - so given it's usage - abiding by some of the more common conventions of the host language seems to make pretty good common sense.
Thanks
Terry Bayne
On 26 Nov 2003 17:09:31 -0200, Gustavo Niemeyer wrote:
>> Hello folks!
>>
>>
>> It's not a big deal, but I'm curious. Is there any intention of
>> including '!=' as an alternative to '~='? I was even thinking
>> about including that locally myself, but it would be very nice if
>> the standard syntax supported it as well.
>>
>> Thanks!