[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lightweight syntax: a dissident view
 
- From: Dirk Laurie <dpl@...>
 
- Date: Thu, 25 Nov 2010 15:07:45 +0200
 
On Thu, Nov 25, 2010 at 01:17:59PM +0200, steve donovan wrote:
> 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)
> 
Is this really so much nicer than
  function(x,y,z) return (x+(x-2)*g(x,y,z-2*(x+y))-y*z) end
as to justify another keyword?
Dirk
(Not claiming originality — I'm sure someone else has already made 
exactly this point, but it seems to be forgotten by the pro-lightweight
debaters.  Actually, the whole thread reminds me a bit of the legendary
discussion leading to the design of Intercal.  Anyone else also on their
third beer?)
- References:
- Re: Re: Re: Lightweight syntax: a dissident view, Gunnar Zötl
 
- Re: Re: Re: Lightweight syntax: a dissident view, Luis Carvalho
 
- Re: Re: Re: Lightweight syntax: a dissident view, Axel Kittenberger
 
- Re: Re: Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
 
- Re: Re: Re: Lightweight syntax: a dissident view, Roberto Ierusalimschy
 
- Re: Re: Re: Lightweight syntax: a dissident view, Mateusz Czaplinski
 
- Re: Re: Re: Lightweight syntax: a dissident view, Axel Kittenberger
 
- Re: Lightweight syntax: a dissident view, Philippe Lhoste
 
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
 
- Re: Lightweight syntax: a dissident view, steve donovan