by pnathan · 12y ago · 0 comments
While Scala/Haskell/F#/etc are great at concision, they aren't that common in traditional SW industrial applications.
IME, I've tried to make super concise modern C#, and it simply isn't concise compared to Haskell or even Python. YMMV, of course.
2. C# supports dynamic typing as well as static.
3. C# and F# are the easiest to mix and match within one solution.
Are you talking about automatic types? Because that's the only thing that resembles dynamic typing I ever found in C#. And it misses about all the reflection available in most dynamic types languages, thus, even if it's somehow possible to not define types, it's useless.
[1] http://msdn.microsoft.com/en-us/library/dd264736.aspx
[2] http://msdn.microsoft.com/en-us/library/system.type.aspx
ExampleClass ec = new ExampleClass();
//ec.exampleMethod1(10, 4); // compiler error
dynamic dynamic_ec = new ExampleClass();
dynamic_ec.exampleMethod1(10, 4); // runtime error