[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: The ~
- From: erik@... (Erik Hougaard)
- Date: Fri, 17 Mar 2000 20:05:37 +0100
Luiz Henrique de Figueiredo wrote:
> I confess that one of the initial choices in the design of Lua was that it
> should not be similar to C, because we were targeting end users, not experienced
> To us, ~ reads naturally as "not" and so ~= reads naturally as "not equal".
> Perhaps because ~ is bitwise-not in C...
> Anyway, it's not something that can be changed now. Sorry.
Well after looking more into - I'm planning to just add '!' to work just
like '~' but not remove the '~' and thereby preserving Lua syntax!