[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lightweight syntax: a dissident view
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 25 Nov 2010 13:17:59 +0200
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.