BloggingAbout.NET
Thoughts of developers
PDC – fourth day: An introduction of Microsoft F#

P1010931 Luca Bolognese started his talk with the statement that writing code is fun. The crowd responded with a loud cheer :-)

Most of the time programming is like:
we tell the machine how things must be done instead of what must be done.
Luca made an analogy with when we want a cappuccino and tell the waiter that he has to grind the coffee beans, put them in a filter, in the same time heat milk, etc…

When we as developers write x = x + 1 it makes perfect sense; we increment x by one.
A mathematician can’t do anything with it; he finds it a very weird function.
It is all in the eye of the beholder.

 

Luca continues with his talk with one big demo where he explains various parts of the language. P1010935
Very entertaining and funny, especially his accent :-)

If the are three things to remember it must be the following:

  • let : bind a value o a symbol. An extention to that is let mutable which binds a value to a variable
  • |> : pipeline operator, concatenate code pieces
  • fun : define a function on the spot

At the end he showed a roadmap of when to expect what.


Posted Fri, Oct 31 2008 7:12 AM by Rutger de Vries
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

Please add 5 and 6 and type the answer here:
Copyright © 2003-2010 BloggingAbout.NET