lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, 7 Mar 2013 16:00:08 +0000
Daniel Silverstone <dsilvers@digital-scurf.org> wrote:

> On Thu, Mar 07, 2013 at 12:53:04PM -0300, Luiz Henrique de Figueiredo
> wrote:
> > > I'd prefer to see ¬= myself.  Makes more sense to me than ~=
> > > and != both.
> > 
> > Since ¬ is not ASCII, we opted for ~ . In logic, both ¬ and ~ are
> > used for "not": http://en.wikipedia.org/wiki/Negation#Notation
> 
> Haskell uses /= in an attempt to make it look a little more like a
> ≠.  A language I used a bit on a uni course used == for equality and
> =/= for inequality.
> 
> I *like* Lua's ~= and hardly think it's a problem for people much.
> 
> D.

And besides that, ~= is what it is now, and what it's been for years.
It's the language we've chosen and learned. If I wanted a feature
change, I'd ask for something more important than this syntax element
that can easily be conveniently worked around in any mainstream
editor, regardless of keyboard. The Lua developers have bigger fish
to fry with their limited time and resources.

SteveT

Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance