2 ms·
I think the gravity is towards a middle ground that looks like imperative, but is quite functional compared to C, Java, C++ or early C#. Sum types, powerful ty
by alkonaut 7y ago
I think the gravity is towards a middle ground that looks like imperative, but is quite functional compared to C, Java, C++ or early C#.
Sum types, powerful type inference and and immutable-as-default.
Kotlin, Rust, Typescript are all recent-ish languages an all fit into this category.
Meanwhile F# approaches it from the other direction (start with OCaml and sprinkle on some imperative and OO).