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

Functional Paradigm in JavaScript

Functional Paradigm in JavaScript

Eugene Obrezkov

May 28, 2016
Tweet

More Decks by Eugene Obrezkov

Other Decks in Programming

Transcript

  1. I’M STILL LOOKING FOR AN ANSWER WHO AM I? ▸

    Developer Advocate at Onix-Systems, Kirovohrad; ▸ KirovohradJS organizer; ▸ Active speaker on CityJS conferences (KharkivJS, OdessaJS, KirovohradJS, KyivJS, JavaScript Frameworks Days); ▸ Believe that IT community can be created in Kirovohrad;
  2. KNOWING ONE PARADIGM IS LIKE KNOWING ONE LANGUAGE. YOU’RE LIMITING

    YOURSELF. Eugene Obrezkov IT’S ALL ABOUT SELF-EXPRESSION
  3. FUNCTIONAL PROGRAMMING, LET’S NAP ON IT FUNCTIONAL PROGRAMMING CONCEPTS ▸

    Programming is done with expressions or declarations, instead of statements; ▸ Pure functions are functions that have no side effects; ▸ Higher-order functions (HOF) are functions that can either take other function as argument or return them as result; ▸ Closures are lexically scoped functions within first-class functions; ▸ Curried function is a function that takes all arguments and returns result, or takes a subset of arguments and returns function that is waiting for other arguments;