Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>General benefits of functional programming over imperative languages:</p> <p>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 ;-) <em>You will find many discussions like this when you google it or even search for it at SO.</em></p> <p>Special F#-advantages:</p> <ul> <li><p>Asynchronous programming is <em>extremely</em> easy and intuitive with <a href="http://blogs.msdn.com/dsyme/archive/2007/10/11/introducing-f-asynchronous-workflows.aspx" rel="noreferrer"><code>async {}</code>-expressions</a> - Even with ParallelFX, the corresponding C#-code is much bigger</p></li> <li><p><a href="http://en.wikibooks.org/wiki/F_Sharp_Programming/Lexing_and_Parsing" rel="noreferrer">Very easy integration</a> of compiler compilers and domain-specific languages </p></li> <li><p>Extending the language as you need it: <a href="http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx" rel="noreferrer">LOP</a></p></li> <li><p><a href="http://blogs.msdn.com/andrewkennedy/archive/2008/08/29/units-of-measure-in-f-part-one-introducing-units.aspx" rel="noreferrer">Units of measure</a></p></li> <li><p>More flexible syntax</p></li> <li><p>Often shorter and more elegant solutions</p></li> </ul> <p>Take a look at <a href="http://2009.scandevconf.se/db/FSharp-Intro-v1.ppt" rel="noreferrer">this document</a></p> <p>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.</p> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload