Does D have too many features?

Jacob Carlborg doob at me.com
Sun Apr 29 07:43:12 PDT 2012


On 2012-04-28 21:36, Andrej Mitrovic wrote:
> On 4/28/12, Walter Bright<newshound2 at digitalmars.com>  wrote:
>> What's your list?
>
> I don't mind extra features, just as long as they're properly
> documented and implemented. For example, I have absolutely no uses for
> anonymous classes right now, but I know DWT2 uses them and probably
> other people do use them.

If a anonymous classes where remove from D, life would get even harder 
for DWT.

> Personally I find the hardest threads to to follow are the ones
> discussing in/out/inout/autoref. For one thing there are compiler
> bugs, but then there are misconceptions between what developers vs
> documentation vs core devs say about them. And then you mix in classes
> and templates into the story and it all becomes a large forest of
> information that is very hard to digest.

Agree.

> Another feature I'm curious about is .dup/.idup. It's basically
> hardcoded for a couple of types, but why not instead use UFCS and
> implement .dup/.idup in std.array as a free function? Then you might
> even use it for user-types by requiring a type to implement .dup/.idup
> functions.

Agree with this one as well.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list