class extensions
kris
foo at bar.com
Wed Aug 29 20:49:26 PDT 2007
Jarrett Billingsley wrote:
> "kris" <foo at bar.com> wrote in message news:fb5742$nek$1 at digitalmars.com...
>>> Plus one can achieve a very nice syntactic sugar for call chaining,
>> D provides that already, no? Tango supports call-chaining extensively.
>
> I think by call-chaining he was referring to cases such as
> join(reverse(split(toUpper(str)))) vs. str.toUpper.split.reverse.join().
> The latter is arguably much more readable than the former.
Had completely missed that, Jarret. Thanks, and fair point
More information about the Digitalmars-d
mailing list