Just where has this language gone wrong?
Petr Janda
janda.petr at gmail.com
Thu Jul 19 07:39:11 PDT 2012
On Thursday, 19 July 2012 at 14:31:53 UTC,
travert at phare.normalesup.org (Christophe Travert) wrote:
> "q66" , dans le message (digitalmars.D:172716), a écrit :
>> (so instead of calling a(b(c(d(e(f))))) you can just call
>> a.b.c.d.e.f())
>
> rather f.e.d.c.b.a, if you omit the empty parenthesis after
> each letter
> (but f).
Ok, but the empty parenthesis is is important, it tells you about
whether it's a an object or a function.
It's another thing I hate about Ruby is that a parenthesis
enforcement is weak.
More information about the Digitalmars-d
mailing list