D's greatest mistakes

Jack jt at overlook.biz
Sun Nov 28 23:06:55 PST 2010


Andrei Alexandrescu wrote:
> On 11/28/10 10:19 PM, Jack wrote:
>> The post "C#'s greatest mistakes" prompts/begs this post. Have at it,
>> pick up the ball and run with it, don't be shy. I expect Walter and
>> Andrei to answer (if Walter and Andrei so dare!) after others' posts
>> have stopped or stagnated into that cesspool of threaded discussion
>> that is "the subthread" or "tangential thread" (which surely needs a
>> rock anthem).
>
> Hrm, excellent challenge.

Ah ha! YOU voiced before Walt. ( So, as I am so knowing, can I moderate 
this discussion? )

> I can't think of a ranking of mistakes right
> now,

Are you a warrior, asked about your commander's "direction"?

> but some that come to mind are:
>
> * Not fixing switch

detail

>
> * scope variables

detail

>
> * delete (generally: an incompletely thought-out approach to garbage
> collection)

detail

>
> * typedef

detail

>
> * Escape rules are too lax (e.g. things could be a lot better if ref
> results couldn't be escaped)
>
> * Eponymous templates can't have any members
>
> * Template pattern matching is incomplete
>
> * Overloading of templates with non-templates is poor
>

All details.

>
> I'll think of more annoyance factors in writing D code.

But someone else will actually die for what you are learning?

> I know the
> last two are an issue but not a very practical one.

You write about nothing.

> I'm
> doing my best to improve or eliminate before the broken behavior
> becomes too encroached.

That is a lie.




More information about the Digitalmars-d mailing list