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

Functional JavaScript

Functional JavaScript

Introduction about what's and how to program functional javascript

Medson Oliveira

December 14, 2018

Transcript

36 slides
  1. What makes a language have the possibility of being functional?

    • Immutability • First class functions • Recursion • Expression oriented programming
  2. Why Recursion? "Is not just much more elegant, but also

    the only way to iterate without invoking side-effects"
  3. JavaScript is not a pure functional language!!!!!1 • Doesn't have

    immutability • JavaScript is object based, everything is an object • Type system supeeeerrrrr dynamic
  4. Functional is not just a kind of programming language but

    also a way to program and organize your code
  5. What's needed for code in a functional way? • First

    class functions • Immutability • Recursion

More Decks by Medson Oliveira

Other Decks in Programming