Developing a Windows 8 application with F#

  • 1,178 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,178
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Developing a Windows 8 application with F# Gustavo Guerra London Windows Store App Developer Group
  • 2. Learn OnThe Go Demo
  • 3. Why F#? • Functional First • Immutability by default • Powerful abstractions (LINQ+++) • StronglyType System • Friends don't let friends use null • Option type • Whole class hierarchies in handful of lines • Discriminated unions • Record types
  • 4. Why F#? • Powerful but Light Syntax • Significant whitespace • Everything is an expression • Pattern matching • Type Inference • Almost feels like a dynamic language like python • Easier to Understand • Declarative feel • Explicit compilation order • Signature files
  • 5. Why F#? • REPL • Testability • More productive than compile-run cycle • Similar to dynamic languages (Python, Ruby, etc…) • All your types are belong to us • Type Providers
  • 6. Why F#? • Very goodAsync support • What’s in C# 4.5 • More composable • Built-in cancellation • Started explicitely • http://tomasp.net/blog/csharp-async-gotchas.aspx
  • 7. Windows 8 • No Support forWinRT in F# • View has to be done inC# • F# used for logic and view model in Portable Class Library • Data binding works nicely • F# compilation toWinJS • https://github.com/ZachBray/FunScript • http://www.websharper.com
  • 8. Want to know more? • http://fsharp.org • http://fsharpforfunandprofit.com/ • F#unctional Londoners Meetup Group • Two meetups each month (one of them is Hands-On) • F# on iPad and iPhone with Xamarin Studio with Neil Danson -Thursday, 30th May