Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why F#?

Bart Sokol
December 16, 2015

Why F#?

Poznańska Grupa .NET

Bart Sokol

December 16, 2015
Tweet

More Decks by Bart Sokol

Other Decks in Technology

Transcript

  1. WHY F#? F E W R E A S O

    N S YO U S H O U L D G E T FA M I L I A R W I T H F # @bartsokol bart-sokol.info linkedin.com/in/bartsokol
  2. F# - KEY FEATURES • Multi-paradigm, functional first CLR language

    • Exhaustive type system • Ability to use almost any .NET library • Well documented • Great community • Huge amount of good quality learning material (both paid and free) • Open Source
  3. F# - NATIVE TYPES • Base types - int, float,

    string, unit, obj • Lists • Arrays • Tuples • Records • Discriminated Unions, Option • Enums • Units of Measure
  4. F# - LANGUAGE CONSTRUCTS • Functions as first class values

    • Lambdas • Pattern matching • Matching functions • Pipe operator
  5. DEMO N AT I V E T Y P E

    S , PAT T E R N M AT C H I N G , P I P E S
  6. F# - TYPE PROVIDERS • Quick and convenient access to

    multiple data sources • No need to create models – sample data is (usually) enough • Multiple common types are handled in FSharp.Data library: – XML – JSON – HTML – SQL – CSV – …
  7. Q&A

  8. THE END. T H A N K YO U F

    O R AT T E N D I N G ! @bartsokol bart-sokol.info linkedin.com/in/bartsokol https://github.com/bartsokol/FSharpDemos https://github.com/bartsokol/LuckyWinner