[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bitwise confusion?
- From: Jonathan Goble <jcgoble3@...>
- Date: Thu, 7 Jan 2016 17:49:14 -0500
On Thu, Jan 7, 2016 at 5:30 PM, Daurnimator <firstname.lastname@example.org> wrote:
> On 8 January 2016 at 08:41, Jonathan Goble <email@example.com> wrote:
>> Side question for Roberto and Luiz: why was ~= chosen for "not equals"
>> instead of the more standard != in most languages? Having to remember
>> to use ~= instead of != is a bit annoying when I'm switching back and
>> forth between multiple languages for different projects.
> IIRC, at the time of lua's creation, the world hadn't agreed on != yet.
> Other languages (e.g. MATLAB) also use '~='
OK, fair enough. I may look into tweaking the parser to accept != as
well as ~= for my own use, though that depends on whether I can wrap
my brain around the parser.