F# vs C#

The cluster centers on comparisons between F# and C# from .NET developers, debating F#'s functional programming advantages, ecosystem limitations, tooling, and Microsoft's support versus C#'s popularity and maturity.

➡️ Stable 0.6x Programming Languages
4,038
Comments
20
Years Active
5
Top Authors
#5624
Topic ID

Activity Over Time

2007
8
2008
26
2009
34
2010
117
2011
85
2012
63
2013
169
2014
313
2015
247
2016
197
2017
386
2018
266
2019
259
2020
341
2021
384
2022
213
2023
352
2024
259
2025
308
2026
11

Keywords

MS e.g JS CLI C.f FP OO IMO POCO VB.NET net functional language functional programming ocaml haskell oop programming ecosystem scala

Sample Comments

tejinderss Feb 26, 2015 View on HN

I am python developer, I am looking forward to program in F#. F# just seems right after developing with python unlike languages like c#, java.

programmer_dude Mar 25, 2023 View on HN

C# syntax is gradually approaching F#. I'd say just use F# and skip the bloat.

andix Mar 22, 2023 View on HN

F# works, it gets updates and there is good (not perfect) tooling. Everything you can do with C# can be done with F# too. Although most APIs don’t feel very natural in F#. F# has only a small ecosystem, so you may not find the right library for every task, and need to use something object oriented from the C# world instead.

bonesss Nov 12, 2025 View on HN

F# is less popular, but it’s a first class .Net language with full MS support and integration onto .Net (VM and ecosystem). C# has been tracking F# and aiming for language parity for years (ie all your modern C# devs should be learning the same language facilities). F# is multi-paradigm so C# devs can write idiomatic C# with minor forced changes. And as a .Net language you can always decompile it into C# and keep going from there.That’s a radically different proposition than, say, raw OCaml

kevingadd Mar 1, 2014 View on HN

I've been using C# for close to a decade at this point (wow, wtf) and I'm fairly familiar with functional programming techniques - I use a lot of closures, immutability, and map/reduce patterns in my code - but F# is still really awkward for me to write and use compared to C#. Even if they can express the same things, and F# is more powerful, it's a far more inconvenient language to use for someone that hasn't been living and breathing ML for years.Furthermore, in gen

McWobbleston Nov 26, 2018 View on HN

F# touches on most of these points doesn't it?

MichaelGG Feb 26, 2015 View on HN

What are your reasons for using C# over F#?

Zak Apr 21, 2009 View on HN

If you're doing FP in C#, why not use F#? It's not Haskell, but it's a step closer.

DeathArrow Oct 15, 2021 View on HN

I am a C# developer and I find F# very interesting. I love the functional paradigms in C# and I want to be able to use more of a functional style.I like how well written F# code is less verbose while being very readable.I want to learn another language. I was thinking about Go, Rust and Kotlin. I excluded Kotlin because it seems it doesn't bring me much value over C# and I excluded Go for the same reason.I dabbled a bit in Rust, but so far I don't like it's verbosity, the

GiorgioG Jul 28, 2017 View on HN

If you want to get things done in .NET Core, use C#. If you want to learn functional programming then sure, use F# and the full .NET Framework...but good luck finding help when you need it because compared to the number of people Elixir, Scala, etc - hardly anyone is using F#.I started learning F#, but ultimately I decided I'd rather learn either Scala or Elixir because they are more "mainstream" functional programming options. If anyone doubts this, compare the number of F#