Function pointers/delegates default args were stealth removed?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Aug 27 07:51:11 PDT 2012
On 8/27/12 7:03 AM, Manu wrote:
> If we can take agreements each other about them, it may be supported.
>
> +1 for Kenji :)
I think the matter here is that we're looking at adding very significant
complexity to the language for a feature with at best minor, marginal
benefits.
Default arguments add no power to the language, you can quote me on that.
A wrong was fixed with a simplifying solution. That broke some code.
Granted, the code could be made to work with a much more complicated
(and complicating) solution. Is it worth it? At this point in D's
development, do we want to go full-bore about something that complicates
the language to very little benefit, particularly considering we already
have so many balls in the air? I think it's reasonable to look into
fixing the code and calling it a day.
Thanks,
Andrei
More information about the Digitalmars-d
mailing list