October 9, 2008

Why F# Matters


The following is an excellent article that provides a detail list of rationale why it bothers to learn F# (and other functional programming languages):

Functional Programming For The Rest of Us

Here are some hallmark features of FP:

1. Immutability - "Variables" are unchangeable (so we call them values in FP) which implies thread safety and provision for concurrency.
2. Function As Value - Functions can be passed as arguments
3. Lazy Evaluation - Defer of execution until is necessary
4. Pattern Matching - Much powerful than the ordinary Select...Case.. statements
4. Succinct Syntax - Write terse programs
5. Unit Tests - Testing the functions as individual units are quite natural during the course of development

A bonus to F# is the first class citizenship in the .NET framework world. It certainly will be a member of Microsoft Visual Studio in the near future:

http://www.eweek.com/index2.php?option=content&task=view&id=49514&pop=1&hide_ads=1&page=0&hide_js=1


No comments: