دانلود اپلیکشن می‌بی‌نیم

دانلود

Immutable JavaScript: You can't change this

۵۵ نمایش
منتشر شده در: نه ماه پیش

Immutable JavaScript: You can't change this by Christian Johansen

Immutable data structures will help you regain your sanity when programming - even in JavaScript! In this talk I will explain what immutability is, what it's good for, and how to effectively put it to use in JavaScript. We will see how immutability can truly help reduce complexity in the UI layer, and even improve performance while we're at it. Immutability goes hand in hand with functional programming, but it doesn't have to - no matter what your pereferred programming paradigm is, immutability will improve your code. If reducing complexity is your cup of tea, this talk is for you.

While the JavaScript standardization committee is coming up with APIs to observe mutations (Object.observe) in order to help improve UI rendering performance, the community around React and ClojureScript has turned to immutability to reduce the problem to managing a single reference. The result is unprecedented performance AND a greatly simplified programming model.

In this talk I will walk the audience through what immutable data are, why they reduce complexity, how they can aid in improving performance (in spite of worsening performance at a macro level) and most importantly: how to put immutability to work in JavaScript in the browser.

Christian Johansen
Christian is a passionate programmer working with Oslo-based consultancy Kodemaker. He's a man of eclectic background, having worked with everything from Unix systems tuning and ops to various server-side applications and JavaScript heavy frontend development. Christian is the author of "Test-Driven JavaScript Development", and he maintains several open source projects, including the JavaScript test-framework Buster.JS and the popular mocking framework Sinon.JS. Functional programming has been a growing interest the past years, and after some time with the wonderful world of Clojure and its immutable data types, he realized there was no going back.

Video source via: Java Zone

دیدگاه ها