Why don't other programming languages have ranges?
Don
nospam at nospam.com
Sun Jul 25 15:17:16 PDT 2010
bearophile wrote:
> Andrei Alexandrescu:
>> In my humble opinion, the design of Java, C#, and Go is proof
>> that their authors didn't get the STL. Otherwise, those languages would
>> be very different.
>
> I don't believe you. Among the designers of Java, C# and Go there are people that are both experts and smart. C# designers have shown to be sometimes smarter than D designers. So I think some of them 'get the STL' and understand its advantages, but despite this in the universe they have found some other reasons to refuse it. I think they were unwilling to pay the large price in language complexity, bug-prone-ness, code bloat and compilation speed that C++ and D are willing to pay.
>
> Here you can find why C# designers have refused C++-style templates & STL and chosen the generics instead:
> http://msdn.microsoft.com/it-it/magazine/cc163683%28en-us%29.aspx
IMHO, that link strongly suggests that they didn't grok the STL. The
pathetic arguments they give look to me like an attempt to rationalize a
decision they'd already made.
More information about the Digitalmars-d
mailing list