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.