Software is eating the world, the web is eating software, and JavaScript rules the web. Learn why JavaScript's distinctive features make it well suited to its position as the most popular programming language in the world.
JavaScript popularized two paradigms in mainstream programming that I collectively call "The Two Pillars of JavaScript": Prototypal OO and Functional programming.
JavaScript's prototypal OO comes in three varieties:
- Differential inheritance (delegate prototypes)
- Concatenative inheritance (exemplar prototypes)
- Functional inheritance (function prototypes)
ES5 brought functional Array extras to JavaScript. You've probably had a chance to use features like .map()
, .filter()
, and .reduce()
, but there's a bit more you should know about functional programming. Learn about the significance of immutability, function composition, functors, currying and more as we explore functional programming in JavaScript and its relationship to reactive programming with libraries like RxJS and React.
The two pillars are essential concepts to learn because they're widely used in industry leading apps from companies like Facebook, NetFlix, Instagram, PayPal, and Microsoft. Why not put them to work for you, too?