F# Brief Overview - Sample and Resources Sava Developer Brown Bag (SDBB) April 15, 2010 (Happy Tax Day)
Introducing F# <ul><li>Taken from  http://en.wikibooks.org/wiki/F_Sharp_Programming   </li></ul><ul><li>The F# programming...
A Brief History of F# <ul><li>Taken from  http://en.wikibooks.org/wiki/F_Sharp_Programming   </li></ul><ul><li>  </li></ul...
Very Different <ul><li>Since it is now part of the .NET Framework, F# is easier to learn through Intellisense. </li></ul><...
Sample Code <ul><li>Code on GitHub:  http://gist.github.com/366942 </li></ul>
Sample Code - Output <ul><li>The calculation is basically 220 minus Age. </li></ul>
Resources <ul><li>WikiBooks - F# Programming -  </li></ul><ul><li>http://en.wikibooks.org/wiki/F_Sharp_Programming </li></...
Resources - Continued <ul><li>HubFS: The Place for FS - Forum type site </li></ul><ul><li>http://cs.hubfs.net/   </li></ul...
Upcoming SlideShare
Loading in...5
×

F# Sample and Resources

1,214
-1

Published on

Just a quick slide deck for our 4/15 Brown Bag Meeting.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,214
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

F# Sample and Resources

  1. 1. F# Brief Overview - Sample and Resources Sava Developer Brown Bag (SDBB) April 15, 2010 (Happy Tax Day)
  2. 2. Introducing F# <ul><li>Taken from http://en.wikibooks.org/wiki/F_Sharp_Programming </li></ul><ul><li>The F# programming language is part of Microsoft's family of .NET languages, which include C#, Visual Basic.NET, JScript.NET, and others. As a .NET langugage, F# code compiles down to Common Language Infrastructure (CLI) byte code which runs on top of the Common Language Runtime (CLR). All .NET languages share this common intermediate state which allows them to easily interoperate with one another and use the .NET Framework's Base Class Library (BCL). </li></ul><ul><li>Some of F#'s notable features include type inference, pattern matching, interactive scripting and debugging, higher order functions, and a well-developed object model which allows programmers to mix to object-oriented and function programming styles seamlessly. </li></ul>
  3. 3. A Brief History of F# <ul><li>Taken from http://en.wikibooks.org/wiki/F_Sharp_Programming </li></ul><ul><li>  </li></ul><ul><li>There are three dominant programming paradigms used today: functional, imperative, and object-oriented programming. Functional programming is the oldest of the three, beginning with Information Processing Language in 1956 and made popular with the appearance of Lisp in 1958. </li></ul><ul><li>F# was developed in 2005 by Microsoft's research and development department. In many ways, F# is essentially a .Net implementation of OCaml, combining the power and expressive syntax of functional programming with the tens of thousands of classes which make up the .NET class library. </li></ul>
  4. 4. Very Different <ul><li>Since it is now part of the .NET Framework, F# is easier to learn through Intellisense. </li></ul><ul><li>Main difference encountered so far...besides syntax is that strings are immutable by default. If the strings need to be assigned, changed etc, the mutable keyword will need to be used. </li></ul><ul><li>  </li></ul><ul><li>let mutable entries = 0 </li></ul><ul><li>Immutable - not subject or susceptible to change or variation in form or quality or nature; &quot;the view of that time was that all species were immutable ... </li></ul><ul><li>  </li></ul><ul><li>Mutable - capable of or tending to change in form or quality or nature; &quot;a mutable substance&quot;; &quot;the mutable ways of fortune&quot;; &quot;mutable weather patterns&quot; </li></ul>
  5. 5. Sample Code <ul><li>Code on GitHub: http://gist.github.com/366942 </li></ul>
  6. 6. Sample Code - Output <ul><li>The calculation is basically 220 minus Age. </li></ul>
  7. 7. Resources <ul><li>WikiBooks - F# Programming -  </li></ul><ul><li>http://en.wikibooks.org/wiki/F_Sharp_Programming </li></ul><ul><li>  </li></ul><ul><li>MSDN F# Programming Portal </li></ul><ul><li>http://msdn.microsoft.com/en-us/fsharp/default.aspx   </li></ul><ul><li>Community for F# </li></ul><ul><li>http://www.communityforfsharp.net/ </li></ul><ul><li>  </li></ul><ul><li>F# 101 - Article from CODE Magazine </li></ul><ul><li>http://goo.gl/7jUr </li></ul><ul><li>  </li></ul>
  8. 8. Resources - Continued <ul><li>HubFS: The Place for FS - Forum type site </li></ul><ul><li>http://cs.hubfs.net/ </li></ul><ul><li>  </li></ul><ul><li>F# For Game Development </li></ul><ul><li>http://sharp-gamedev.blogspot.com/ </li></ul><ul><li>Exploring the F# Language Series (4-Parts) </li></ul><ul><li>http://goo.gl/wjtq </li></ul><ul><li>F# Eye For The C# Guy - A presentation with a little humor </li></ul><ul><li>http://goo.gl/co1w </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×