Return 'this' proposal
Joseph D. Darcy
Joe.Darcy at Sun.COM
Wed Mar 18 23:52:50 PDT 2009
Reinier Zwitserloot wrote:
> Joe,
>
> What's the coin viability for a proposal that does NOT change the type
> system, but just introduces syntax sugar that translates:
>
> expression.setBar().setBaz();
>
> to:
>
> TypeOfExpression $unique = expression;
> $unique.setBar();
> $unique.setBaz();
>
I'm not in favor of language changes which retrofit a fluent interface
on an API not designed to have one.
-Joe
More information about the coin-dev
mailing list