@property needed or not needed?
jerro
a at a.com
Tue Jan 29 07:45:01 PST 2013
> [1] If you think the required '()' in UFCS chains look ugly,
> you're right, but the
> right fix isn't to butcher the language. '()' carry important
> information. Having
> a mode where function calls are made w/o the parens would be a
> good idea, but it
> should be limited to an explicit scope. ie something like
> "auto r = function {generator(x, y, z).map!(x => x * x)};",
> except 'function' keyword
> can't be overloaded like that, it's too long, and ()-less calls
> isn't the only change
> that could be done.
I think having some kind of pipe operator would be a better
solution. But it's probably too late to add any of those now.
More information about the Digitalmars-d
mailing list