DEV Community

Discussion on: What's the Unit Type in F#?

Collapse
 
eljayadobe profile image
Eljay-Adobe

F# as an FP language is... wow! And The Book of F# by Dave Fancher is a great introduction and tutorial for the language. In my opinion, that book is far better than the other dozen F# books I've read.

What do you think of using F# as an OO language? A "better C# than C#" kind of language?

I know that F# positions itself as a FP language, but since Don Syme had to hammer the .NET requirements on top of OCaml, F# is also a top-shelf OO language like C# or VB.NET.

Collapse
 
josegonz321 profile image
Jose Gonzalez

Hey Eljay,

I have not read The Book of F#. But I have watch Dave's pluralsight courses and his YouTube videos.

I met Dave at KCDC this past summer. What an outstanding guy. Friendly and super down to earth.

F# is flexible enough to be used as an OO language. I don't think it should be used that way. For me, it's not a dilemma between F# and C#, it's between functional programming and imperative programming.

C# can do functional programming but it's such a pain!
F# can do imperative programming but it's ugh.

Since I'm lit up on functional programming, I lean towards FP languages.