SlideShare a Scribd company logo
F# Brief Overview - Sample and Resources Sava Developer Brown Bag (SDBB) April 15, 2010 (Happy Tax Day)
Introducing F# Taken from  http://en.wikibooks.org/wiki/F_Sharp_Programming   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). 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.
A Brief History of F# Taken from  http://en.wikibooks.org/wiki/F_Sharp_Programming     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. 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.
Very Different Since it is now part of the .NET Framework, F# is easier to learn through Intellisense. 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.   let mutable entries = 0  Immutable - not subject or susceptible to change or variation in form or quality or nature; "the view of that time was that all species were immutable ...   Mutable - capable of or tending to change in form or quality or nature; "a mutable substance"; "the mutable ways of fortune"; "mutable weather patterns"
Sample Code Code on GitHub:  http://gist.github.com/366942
Sample Code - Output The calculation is basically 220 minus Age.
Resources WikiBooks - F# Programming -  http://en.wikibooks.org/wiki/F_Sharp_Programming   MSDN F# Programming Portal http://msdn.microsoft.com/en-us/fsharp/default.aspx   Community for F# http://www.communityforfsharp.net/   F# 101 - Article from CODE Magazine http://goo.gl/7jUr  
Resources - Continued HubFS: The Place for FS - Forum type site http://cs.hubfs.net/     F# For Game Development http://sharp-gamedev.blogspot.com/   Exploring the F# Language Series (4-Parts) http://goo.gl/wjtq F# Eye For The C# Guy - A presentation with a little humor http://goo.gl/co1w

More Related Content

PPTX
C# language
PPTX
BDD with F# at DDD9
PPTX
Async programming in f
PPT
Characteristics of c#
PPTX
Theory of programming
PPTX
Presentation
PPTX
F# for BLOBA, by brandon d'imperio
C# language
BDD with F# at DDD9
Async programming in f
Characteristics of c#
Theory of programming
Presentation
F# for BLOBA, by brandon d'imperio

What's hot (20)

PPTX
Introduction to c#
PPTX
Whats New In C Sharp 4 And Vb 10
DOCX
What is c#
PPT
Comparative Study of programming Languages
PPTX
Ndu06 typesof language
PPTX
Computer Programming Overview
PPT
10 Sep08 2003ver
PPTX
Introduction To C#
DOCX
Since the release of c
PPTX
Programming languages
PPT
Drupal Internationalization Presentation at OSCMS
PPT
1. over view and history of c
KEY
Evolution of Programming Languages
PPTX
PDF
Swift vs. Language X
PPT
Programing Language
PPTX
Evolution of Computer Languages
ODP
Progressive f# tutorials nyc don syme on keynote f# in the open source world
PPTX
Go programing language
PPTX
Error hanadling in c programming presentation
Introduction to c#
Whats New In C Sharp 4 And Vb 10
What is c#
Comparative Study of programming Languages
Ndu06 typesof language
Computer Programming Overview
10 Sep08 2003ver
Introduction To C#
Since the release of c
Programming languages
Drupal Internationalization Presentation at OSCMS
1. over view and history of c
Evolution of Programming Languages
Swift vs. Language X
Programing Language
Evolution of Computer Languages
Progressive f# tutorials nyc don syme on keynote f# in the open source world
Go programing language
Error hanadling in c programming presentation
Ad

Viewers also liked (16)

ZIP
Share Point Event Presentations
PDF
Report Ra 87447
KEY
聞くスペイン語セミナー
PDF
Ortem Electronics 2011
PPS
Welcome To India Life And Death
KEY
WordPressで簡単にPodcast配信:聞くスペイン語のやり方
PDF
Join a Winning Partnership - Ritchie Team
PPS
Vlaanderen Pacha
PDF
Mobile based EMR
PPTX
2 verktyg för minskad stress
PPT
biografia plath
PDF
Dr Reddy's CPS - More Than Meets The Eye
PDF
Dr Reddys Cps Presentation Linked In Aug 2011
PPT
Elissa Broz Digital Portfolio Jan 3 2010
PPTX
Jupiter
PPTX
Accelerate Journey To The Cloud
Share Point Event Presentations
Report Ra 87447
聞くスペイン語セミナー
Ortem Electronics 2011
Welcome To India Life And Death
WordPressで簡単にPodcast配信:聞くスペイン語のやり方
Join a Winning Partnership - Ritchie Team
Vlaanderen Pacha
Mobile based EMR
2 verktyg för minskad stress
biografia plath
Dr Reddy's CPS - More Than Meets The Eye
Dr Reddys Cps Presentation Linked In Aug 2011
Elissa Broz Digital Portfolio Jan 3 2010
Jupiter
Accelerate Journey To The Cloud
Ad

Similar to F# Sample and Resources (20)

PPT
Bay NET Aug 19 2009 presentation ppt
DOCX
Event Driven Programming in C#.docx
PDF
Dot net
PPTX
Swift programming language
DOCX
C-sharping.docx
PDF
C# Interview Questions PDF By ScholarHat.pdf
PDF
OOP Comparative Study
PDF
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
PDF
C Package 100 Knock 1 Hour Mastery Series 2024 Edition text version Tenko dow...
PDF
[Ebooks PDF] download C Package 100 Knock 1 Hour Mastery Series 2024 Edition ...
PDF
Migrating From Cpp To C Sharp
PDF
Developing With Compile Time In Mind Richard Cattermole
PPTX
F# Tutorial @ QCon
PDF
I18n
PDF
A tour of C# - Overview _ Microsoft Learn.pdf
PPTX
Introduction to programming using c
PDF
C sharp chap1
PDF
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
PPTX
What the math geeks don't want you to know about F#
PDF
Best things to know about .net framework
Bay NET Aug 19 2009 presentation ppt
Event Driven Programming in C#.docx
Dot net
Swift programming language
C-sharping.docx
C# Interview Questions PDF By ScholarHat.pdf
OOP Comparative Study
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
C Package 100 Knock 1 Hour Mastery Series 2024 Edition text version Tenko dow...
[Ebooks PDF] download C Package 100 Knock 1 Hour Mastery Series 2024 Edition ...
Migrating From Cpp To C Sharp
Developing With Compile Time In Mind Richard Cattermole
F# Tutorial @ QCon
I18n
A tour of C# - Overview _ Microsoft Learn.pdf
Introduction to programming using c
C sharp chap1
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
What the math geeks don't want you to know about F#
Best things to know about .net framework

F# Sample and Resources

  • 1. F# Brief Overview - Sample and Resources Sava Developer Brown Bag (SDBB) April 15, 2010 (Happy Tax Day)
  • 2. Introducing F# Taken from http://en.wikibooks.org/wiki/F_Sharp_Programming 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). 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.
  • 3. A Brief History of F# Taken from http://en.wikibooks.org/wiki/F_Sharp_Programming   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. 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.
  • 4. Very Different Since it is now part of the .NET Framework, F# is easier to learn through Intellisense. 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.   let mutable entries = 0 Immutable - not subject or susceptible to change or variation in form or quality or nature; "the view of that time was that all species were immutable ...   Mutable - capable of or tending to change in form or quality or nature; "a mutable substance"; "the mutable ways of fortune"; "mutable weather patterns"
  • 5. Sample Code Code on GitHub: http://gist.github.com/366942
  • 6. Sample Code - Output The calculation is basically 220 minus Age.
  • 7. Resources WikiBooks - F# Programming -  http://en.wikibooks.org/wiki/F_Sharp_Programming   MSDN F# Programming Portal http://msdn.microsoft.com/en-us/fsharp/default.aspx   Community for F# http://www.communityforfsharp.net/   F# 101 - Article from CODE Magazine http://goo.gl/7jUr  
  • 8. Resources - Continued HubFS: The Place for FS - Forum type site http://cs.hubfs.net/   F# For Game Development http://sharp-gamedev.blogspot.com/ Exploring the F# Language Series (4-Parts) http://goo.gl/wjtq F# Eye For The C# Guy - A presentation with a little humor http://goo.gl/co1w