|
|
|
|
|
by ClosureSpin
4190 days ago
|
|
Nope. Scala allows for and promotes for functional programming with higher order functions all over the place, its more powerful type system, immutability, practices, standard library, and much more. Having lambdas makes you about as functional as C++ these days. Functional/non-functional is a fuzzy distinction but C# is definitely not a functional language. |
|
If it wasn't for nerfed imperative collection classes (to encourage functional solutions) in the standard library, you could totally just ignore the fact that Scala was a functional language at all; it is not in your face about it like Haskell.
It would probably be more correct to say that "Scala is the only language that does both FP and OOP very well." On marrying the paradigms....why not just use both as needed anyways? That is completely doable in C# as well, just not as well as in Scala.