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.

C8961266de91d839296a96779872294e?s=128

Nuno Alexandre

April 20, 2017
Tweet

Transcript

  1. 2.
  2. 3.

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

    FP 4. Haskell Goodies 5. Wrap up 6. Q & A
  3. 5.

    Why Haskell • functional thinking • mathematical based • a

    great type system • beautiful code • features 20 years ahead • rigorous & constrained • challenging
  4. 8.

    From OOP to FP • OO starts low and abstracts

    as necessary PeopleGroup Group<Ageable> *BaseClass PersonUtils
  5. 9.

    From OOP to FP • In FP abstraction is the

    starting point • Reusable • Decoupled • Composition
  6. 14.

    Purely Functional Purity
 • same result for same arguments •

    no side-effects • referential transparency
  7. 24.

    Drawbacks • Space complexity is hard to debug • Not

    such great tooling • Memory consumption • Hard to learn independently
  8. 25.

    Conclusion • Languages are not just tools • Think different

    • Purity is beauty • Scientific certainty
  9. 27.
  10. 28.