Re:Intro To Pattern Matching – Covers C# 9
by alkonaut on Wednesday February 19, 2020 @12:34PM
(#22367786)
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).
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).