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

JavaScript - From DHTML to a Multi-Paradigm Language

Robert Vogt
September 23, 2016

JavaScript - From DHTML to a Multi-Paradigm Language

Robert Vogt

September 23, 2016
Tweet

More Decks by Robert Vogt

Other Decks in Technology

Transcript

  1. «Web 2.0 describes World Wide Web websites that emphasize user-generated

    content, usability, and interoperability for end users.»
  2. «A programming paradigm is a style or way of programming.

    Some languages make it easy to write in some paradigms but not others.»
  3. let Animal = { walk: function() {} }; let Dog

    = Object.create(Animal); Dog.bark = function() { return ‘Woof!’; };
  4. «Functional Programming is a programming paradigm that treats computation as

    the evaluation of mathematical functions and avoids changing-state and mutable data.»
  5. function createPrinter(a, b) { return function() { return ‘Namics’; }

    } const print = createPrinter(); print(); // Namics.
  6. let incrementer = (function() { let _value = 0; return

    () => ++_value; })(); incrementer(); // 1 incrementer(); // 2 incrementer(); // 3
  7. «Those who are unaware they are walking in darkness will

    never seek light.» — Bruce Lee find me on twitter @_deniaz