lua-users home
lua-l archive

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


On Apr 28, 2014, at 8:33 PM, Roberto Waltman <techie@rwaltman.com> wrote:

>>   There is a language out there (I want to say one of the Algols, but it's
>> rather hard to search for this example) that allows you do to:
>> 
>>         if if == if then then = then else else = else
>> 
>> or how about:
>> 
>>         if then = else then else = then else else = if
> 
> PL/I, maybe others. An attempt to keep your sanity is here: http://pliedit.com/
> This example should be enough to kill any proposal making keywords "reusable".
> -- 
> Roberto Waltman

I do not believe I have ever used a language in which the keywords were also usable for variable names, and after reading that mess above, I don't believe I would ever want to. I would put reuse of keywords right up there with significant whitespace as far as "bad" language features go!

~pmd~