F# Introduction Tutorial - Visual Studio 2010

A quick overview of many of the most important F# language concepts.

F# (33.9 KB)
4.6 Star
9,430 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • 555-555-0199@example.com
    1 Posts | Last post October 13, 2017
    • 555-555-0199@example.com
  • What knowledge is neccessary and essential for learning the F# language. What is the advantage of F# over other languages
    2 Posts | Last post December 09, 2011
    • What is it that is required here
    • See StackOverflow: http://stackoverflow.com/questions/952318/what-are-the-benefits-of-using-c-sharp-vs-f-or-f-vs-c
      General benefits of functional programming over imperative languages:
      You can formulate many problems much easier, closer to their definition and more concise in a functional programming language like F# and your code is less error-prone (immutability, more powerful type system, intuitive recurive algorithms). You can code what you mean instead of what the computer wants you to say ;-) You will find many discussions like this when you google it or even search for it at SO.
      Special F#-advantages:
       • Asynchronous programming is extremely easy and intuitive with async {}-expressions - Even with ParallelFX, the corresponding C#-code is much bigger
       • Very easy integration of compiler compilers and domain-specific languages 
      • Extending the language as you need it: LOP
       • Units of measure
       • More flexible syntax
       •Often shorter and more elegant solutions
      Take a look at this document
      The advantages of C# are that it's often more accurate to "imperative"-applications (User-interface, imperative algorithms) than a functional programming language, that the .NET-Framework it uses is designed imperatively and that it's more widespread.
      Furthermore you can have F# and C# together in one solution, so you can combine the benefits of both languages and use them where they're needed.