Does D have too many features?
Adam D. Ruppe
destructionator at gmail.com
Sun Apr 29 07:59:51 PDT 2012
On Sunday, 29 April 2012 at 12:26:13 UTC, David Nadlinger wrote:
> - Anonymous nested classes: They might be useful in Java,
> particularly in older incarnations, but not so much in D –
> never used them.
I never used these until very recently. A couple weeks
ago, I wanted to do some kind of range adapter kinda like
Phobos does with the anon structs... but I wanted it to
work with runtime too.
So, I made an interface with empty, front, popFront,
and then pulled out the old "return new class ByChunkRange"
for the first time.
I never expected that I'd use it, but it was nice to have
for that time when I did decide I wanted it.
That's my biggest concern with saying we have too many
features. We might not use them often, but it would suck
to say "that would be perfect" just to find it was removed
later.
More information about the Digitalmars-d
mailing list