lua-users home
lua-l archive

Re: Lightweight syntax: a dissident view

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


2010年11月25日 Pierre-Yves Gérardy <pygy79@gmail.com>:
> This leaves us with '@', '$' and '\'. The first two are Perlish. The
> last one is a bit shallow, visually. There no obvious candidate...
I now appreciate that line noise is harder on the fingers in Europe ;)
A keyword 'lambda' would in fact be easier to type and any decent
editor expands abbreviations.
Does lambda x,y (x*(x+y)) feel unbalanced? In its favour, it does
make _longer_ expressions more visible
 lambda x,y,z (x+(x-2)*g(x,y,z-2*(x+y))-y*z)
(I have a strong urge to put parens around the formal arg list ;))
steve d.

AltStyle によって変換されたページ (->オリジナル) /