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

Stack funcional com Elm

Stack funcional com Elm

Avatar for Éber Freitas Dias

Éber Freitas Dias

February 29, 2020
Tweet

More Decks by Éber Freitas Dias

Other Decks in Programming

Transcript

  1. JavaScript... é complicado • dinâmica e flexível • cheia de

    *wats* • ecossistema populado • as coisas estão melhorando...
  2. Uma linguagem agradável… … para webapps confiáveis … sem exceções

    em tempo de execução … com mensagens de erro amigáveis
  3. Elm • Evan Czaplicki, 2012 • Puramente funcional • Fortemente

    tipada • Haskell, OCaml, F# • Compila para JS • Compilador escrito em Haskell • 0.19.1 (Out/2019)
  4. Linguagem • Funcional • Sintaxe • Compiler (runtime exceptions &

    error msgs) • Fortemente tipada • Alias types
  5. Linguagem • Funcional • Sintaxe • Compiler (runtime exceptions &

    error msgs) • Fortemente tipada • Alias types • Union types
  6. Linguagem • Funcional • Sintaxe • Compiler (runtime exceptions &

    error msgs) • Fortemente tipada • Alias types • Union types • Maybe
  7. Linguagem • Funcional • Sintaxe • Compiler (runtime exceptions &

    error msgs) • Fortemente tipada • Alias types • Union types • Maybe • Funcional² (sem efeitos colaterais)
  8. Quem usa? • thoughtbot • Rakuten • NoRedInk • Stone

    • Cálculo Jurídico • PivotalTracker • Emirates • Vy • ...