Video not available

Send us an email to

They're functional! They're efficient!! They're persistent data structures!!!

0 0

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!