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

Why I care about Haskell

Why I care about Haskell

Having worked in an environment where Java was predominant, bringing Functional Programming - in Haskell - into the table is not that simple. I went on giving a presentation explaining my motives and hopefully answering some sensible scepticism.

Nuno Alexandre

April 20, 2017
Tweet

Other Decks in Programming

Transcript

  1. Overview 1. Premise 2. Why Haskell 3. From OOP to

    FP 4. Haskell Goodies 5. Wrap up 6. Q & A
  2. Why Haskell • functional thinking • mathematical based • a

    great type system • beautiful code • features 20 years ahead • rigorous & constrained • challenging
  3. From OOP to FP • OO starts low and abstracts

    as necessary PeopleGroup Group<Ageable> *BaseClass PersonUtils
  4. From OOP to FP • In FP abstraction is the

    starting point • Reusable • Decoupled • Composition
  5. Purely Functional Purity
 • same result for same arguments •

    no side-effects • referential transparency
  6. Drawbacks • Space complexity is hard to debug • Not

    such great tooling • Memory consumption • Hard to learn independently
  7. Conclusion • Languages are not just tools • Think different

    • Purity is beauty • Scientific certainty