Go to content

They're functional! They're efficient!! By Anjana Vakil

They're functional! They're efficient!! They're persistent data structures!!! By Anjana Vakil Functional programming is a cool paradigm to work in, because avoiding mutable objects can save you a lot of headaches! But when you're using only immutable objects, you have to create a new object each time something changes, which means copying even the parts that didn't change! This can slow things down, and you might even run out of memory! Fear not: persistent data structures to the rescue! They save you time and space when modifying objects, by reusing parts of the old object that you don't need to change! Let's find out what that means and why it is SO AWESOME! And let's learn how to easily use these structures in JavaScript! Help us caption & translate this video! http://amara.org/v/KYiH/

May 7, 2016