Building Android and iOS Apps in F#

Bernard Hsu
September 25, 2014

Building Android and iOS Apps in F#

F# talk given for Chicago Mobile .NET developers meetup September 25, 2014 at Microsoft Chicago

Bernard Hsu

September 25, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

26 slides
  1. Building Android and iOS Apps in F# Bernard Hsu @BernardShoe

    Founder, All Good People LLC www.letsthinkabout.us (Android, iOS) |> F# |> Xamarin
  2. Functional languages attract me because of their simplicity even when

    solving complex tasks…. A good functional program is like a beautiful poem: you see the pieces of a ‘solution’ come together. -Don Syme, Creator F# https://www.simple-talk.com/opinion/geek-of-the- week/don-syme-geek-of-the-week/
  3. The Tao of Functional Programming 1.Immutable Data 2. Function Composition

    3. Pattern Matching 4. Lazy Evaluation |> http://bit.ly/backus_fun
  4. 1. Immutable Data • No variables, only values • No

    imperative constructs • For, While loops • No mutable Arrays • No mutable Objects • No mutable strings http://bit.ly/backus_fun
  5. The Tao of Functional Programming 1. Immutable Data 2. Function

    Composition 3.Pattern Matching 4. Lazy Evaluation |>
  6. The Tao of Functional Programming 1. Immutable Data 2. Function

    Composition 3. Pattern Matching 4.Lazy Evaluation |>
  7. 4. Lazy Evaluation let x = Lazy<int>.Create(fun () -> printfn

    "Evaluating x..."; 10) let y = lazy(printfn "Evaluating y..."; x.Value + x.Value)
  8. F# Xamarin • Tools are ready • But not up

    to C#-par • iOS and Android are OO • Cannot write “pure” functional code • Good for use in Model
  9. Building Android and iOS Apps in F# Bernard Hsu @BernardShoe

    Founder, All Good People LLC www.letsthinkabout.us (Android, iOS) |> |> F# Xamarin

More Decks by Bernard Hsu

Other Decks in Programming