They're functional! They're efficient! They're Persistent Data Structures!

May 13, 2016 15:21

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!

Given at !!Con 2016 - May 8, 2016

Views:
3207
Download:

speaker

Anjana Sofia Vakil

vakila

more decks of the speaker