Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I learn F# or functional programming languages in general? [closed]

Tags:

.net

f#

Should I invest time learning Microsoft's new F# language? I am mainly a C# .NET developer and I wonder if learning F# will be of any help in developing today's typical applications.

like image 406
A B Avatar asked Dec 22 '08 11:12

A B


People also ask

Is it worth it to learn F#?

F# is a fantastic language that allows to do much with little coding - efficiency for the win! Functional programming gets more and more attention nowadays, so it's worth discovering languages that were created with this paradigm in mind.

Why is F# not popular?

However, functional programming languages are not highly popular. Most programmers never learn any functional programming languages, choosing instead to learn one of C#, Java, C++, Javascript and stick with it indefinitely. For that reason, F# is stuck in a position of being the number 3 .

Is F# difficult to learn?

In short, F# is an incredibly inconsistent language and you can't truly understand it without digging into the code it produces. Show activity on this post. How difficult is it to learn F# for experienced C# 3.0 developers, Really easy.

Is F# still used?

F# is a fully supported language in Visual Studio and JetBrains Rider. Plug-ins supporting F# exist for many widely used editors including Visual Studio Code, Vim, and Emacs.


2 Answers

F# is a perfectly good place to start learning functional languages. If you're worried that F# knowledge won't apply to other functional languages, you shouldn't. F# is a member of the ML family of languages. Microsoft just tweaked it a bit so that it plays well with .NET.

Luca Bolognese gave an amazing presentation on F# at PDC 2008. I would strongly recommend you watch it and decide for yourself whether F# is worth learning.

like image 63
Ferruccio Avatar answered Sep 22 '22 18:09

Ferruccio


It's worthwhile to take a look at programming languages that make you think differently, and if you're a C# developer, F# is probably the functional programming language you'd find most accessible.

Even if you decide that you don't want to develop applications in F#, the experience of using F# could change the way you write C#.

like image 24
John D. Cook Avatar answered Sep 25 '22 18:09

John D. Cook