DEV Community

Denis Rodionov
Denis Rodionov

Posted on

F# Web Backend: Rationale

F# is an ML-family language on .NET platform. If you are happy with your C#, or Node.js, or PHP, or Python, you don't need F#. You gotta have certain wanderlust to drift away from established mainstream.

What I consider strong points of F#:

  • Functional, but not pure. Allows to flexibly opt into mutability and OOP.
  • Decent interoperability with .NET platform and C#. All good that there is about modern .NET is available.
  • Sophisticated type system, e.g. union types.
  • Type inference is phenomenal.

Vs Rust:

  • Better tooling and ecosystem.

Vs Scala:

  • Maybe more FP feel, but very close competitor.

Top comments (0)