Java annotations are based on .NET atributes, and initially had a clusmy implementation requiring an annotations processing tool until they finally got integrated into javac.
LINQ paved the way to more FP acceptance among enterprise developers. Check "confessions of a language salesman" from Erik Meyer.
Also .NET always had AOT/JIT from the very beginning, whereas AOT was tabu at Sun and only commercial JDKs always had it as option.
LINQ is a good one though, that’s definitely a .NET innovation.
Don Syme of F# fame was leading generics research since 1999, while they were designing the CLR, but it was clear they would have to delay 1.0 if they wanted to included them, so they just went ahead without them for 1.0 release.
https://blogs.msdn.microsoft.com/dsyme/2011/03/15/netc-gener...
https://blogs.msdn.microsoft.com/dsyme/2012/06/19/some-histo...
https://blogs.msdn.microsoft.com/dsyme/2012/06/26/some-more-...
Additionally C#, like Java, also had CMU, ML, Ada, Eiffel, Sather, BETA, C++ and Modula-3 as possible sources of inspiration for generics.
But Generic Java was started in 1998 (IIRC originally as part of Pizza). It seems reasonable to say that Java covered this ground first.
Although what Java got wasn't all of Pizza, which had better generics.
I played around with Pizza (AKA Generic Java) in the late 90s, before the launch of C#.
That one at least is incorrect - C# had generic types long before Java
I had the wrong idea because (if I understand right) C#’s generic collections seem to be a copy of Java’s (which in turn were inspired by C++’s STL). Do I have that one the right way round?
The C# collections use generally poorer name choices (e.g. IEnumerator, which does not actually enumerate the elements) so I assumed they wanted to avoid making it identical to Java.
I think STL was the first mainstream one. I guess some of the ideas came from Ada? But I don’t know if Ada had standardized containers.
Long before STL was a thing in C++.
Stepanov started STL original design in Ada, before switching to C++. Recent Ada standards have adopted collection classes as well.
That depends on who you ask.
My opinion is Java doesn’t have proper generics. In Java they’re just language-level syntactic sugar.
Type system is broken i.e. type information is lost at compile time. This makes it hard to do functional-style programming in Java, that’s why other people made Scala.
Performance is broken too, generic containers box everything into objects causing huge performance penalty for containers with value types.
I think you mean “the same people”, at least in the specific case of Martin Odersky. :)
> Functional deeply integrated into a mainstream language (LINQ c# 3)
> Unified graphical application model incorporating all main styles of web, forms, svg, and 3d. (WPF .net 3.5)
> Compiler language services (c# 5)
> Async await (c# 5)
What are some examples of where C# / .NET paved the way and others followed? Maybe popularizing async/await?
I’m definitely not claiming MS as a whole is always a follower. It seems like Direct3D led the way for the whole industry, for example.