I have just learned my first Hello World project in C# and now I have heard there is F#.
I was wondering what is it and how is it different from C#?
|
I have just learned my first Hello World project in C# and now I have heard there is F#. I was wondering what is it and how is it different from C#? |
|||||||||
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
F# is a functional language for the .net framework and similar to ML and OCaml. It's different in many ways to C#: syntax, paradigm. Just look at the wikipedia entry. |
|||
|
|
|
F# is a typed functional programming language for the .NET Framework. It combines the succinctness, expressivity, and compositionality of typed functional programming with the runtime support, libraries, interoperability, tools and object model of .NET. F# stems from the ML family of languages and has a core language compatible with that of OCaml, though also draws from C# and Haskell. F# was designed from the ground up to be a first-class citizen on .NET, giving smooth interoperability with other .NET languages. For example, C# and F# can call each other directly. This means that F# has immediate access to all the .NET Framework APIs. Similarly, libraries developed in F# may be used for other .NET languages. Here is one very cool presentation on F#. You might want to have a look at it : What is F#? You would even like to know Why F# is so special? Visit here for some F# help. In simpler words, the F# help summarizes this language as -
I think that explains it all. :) |
||||
|
|
|
Here some good things to help you answer your questions:
Stack Overflow answers for F# vs C# or C# vs F#
There are lots of other examples on Stack Overflow. Hope this gives you a good place to start in answer your question. |
|||
|
|
|
Well I think the best explanation was the conference talk given by Luca Bolognese, the version on the Microsoft site has had all the video removed and replaced with just the working screen, which I think ruins it a bit. The original version is more entertaining. I know it is long, but it really is worth watching. |
|||||||||||
|