Wirawan Winarto

Microsoft Student Partner
See also: Other Geeks@INDC

Trying F# on Visual Studio 2008

Just tried F# on Visual Studio Team System last night. It ran smoothly... so far.

The first thing I tried is a little Fibonacci code...


Then testing some simple codes below...


For you who came from object-oriented background, this language might looks like an alien language. But it is not that difficult to familiarize yourself with these syntaxes. Trust me.

If you want to have a taste of F# just follow these easy steps :

  1. Remove any previously installed version of Microsoft Research F#.
  2. Install Microsoft Visual Studio. (I tried it on Team System 2008)
  3. Install Microsoft Research F#. You can download it here.
  4. After all steps above are done. Open your Visual Studio.
  5. Choose Tools, then Add-In Manager.
  6. Check "F# Interactive for Visual Studio" check-box.
  7. Try it, click New Projects >> Other Project Types >> F# Projects.
  8. Have fun!

Just want you to know, as Mr. Somasegar has stated earlier here, F# will be the first class citizen of .NET in the future. That means F# will get the same support as C#, VB .NET, and C++. F# itself is actually a multi-paradigm programming language. It supports object-oriented programming as well, but it was designed mainly for functional programming.

Why is functional programming cool?
I will write that later because I have to prepare for my speech tomorrow.

Share this post: | | | |

Comments

Risman Adnan said:

Good artikel. Keep exploring F#!

# December 1, 2007 8:24 PM

wirawan said:

sure. :)

# December 2, 2007 6:09 AM

Haryo Prabowo said:

wah ada nama saya dibawa-bawa =D

# December 2, 2007 8:00 AM

wirawan said:

soalnya gampang diingat. :P

# December 2, 2007 1:08 PM

Umar said:

Terus explore, ingat next career after MSP!

# December 3, 2007 10:43 AM

norman said:

Lovely! Ada juga yg ikutan ngoprek F#. Kita bisa discuss banyak about F# & Functional Programming in general. Sekalian ke Lambda Calculus-nya juga boleh. :)

Anyway, my fav language is still Mathematica. Algebraic Computing is just awesome! Even F# still can't do it I think.

# December 3, 2007 2:42 PM

Jemmy said:

Mungkin ini bukan comment, tapi pertanyaan. F# itu sejarahnya darimana ya?

# December 3, 2007 2:51 PM

wirawan said:

Hehe. Buat Jemmy...

F# itu banyak dipengaruhi oleh bahasa OCaml. Bahasa pemrograman yang very popular di kalangan scientist dan matematikawan. Jadi lebih condong ke arah sains.

Jika tidak terjadi perubahan, F# bakalan ikut serta di dalam Visual Studio berikutnya (mungkin Visual Studio 2011 ya?). :)

# December 3, 2007 5:10 PM