OT: on IDEs and code writing on steroids

Christopher Wright dhasenan at gmail.com
Wed May 20 04:23:51 PDT 2009

dsimcha wrote:
> == Quote from Christopher Wright (dhasenan at gmail.com)'s article
>> Nick Sabalausky wrote:
>>> "Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message
>>> news:gus0lu$1smj$2 at digitalmars.com...
>>>> I've repeatedly failed to figure out the coolness of C#, and would
>>>> appreciate a few pointers. Or references. Or delegates :o).
>>> Outside of this group, I think most of the people considering C# really cool
>>> are people who are unaware of D and are coming to C# from Java. What's
>>> "cool" about C# is that it's like a less-shitty version of Java (and *had*
>>> good tools, although the newer versions of VS are almost as much of a
>>> bloated unresponsive mess as Eclipse - Which come to think of it, makes me
>>> wonder - If Java has gotten so fast as many people claim, why is Eclipse
>>> still such a sluggish POS?).
>>> Compare C# to D though and most of the coolness fades, even though there are
>>> still a handful of things I think D could still learn from C# (but there's
>>> probably more than a handful that C# could learn from D).
>> Generics and reflection. Generics just hide a lot of casts, usually, but
>> that's still quite useful. And autoboxing is convenient, though not
>> appropriate for D.
> What the heck do you need generics for when you have real templates?  To me,
> generics seem like just a lame excuse for templates.

Put a template in an interface.

Use reflection to instantiate a template.

More information about the Digitalmars-d mailing list