Shallow Copy and Deep Copy - Advanced Javascript Tutorial
Offered By: Dave Gray via YouTube
Course Description
Overview
Explore the intricacies of shallow and deep copying in this advanced JavaScript tutorial. Dive into the fundamental concepts of data types, value passing versus reference passing, and mutable versus immutable data. Learn how to create shallow copies, implement shallow freezing of objects, and perform deep copying. Understand the differences between pure and impure functions, and how they relate to data manipulation. Gain essential knowledge for working with complex data structures and writing more efficient, bug-free code. By the end of this comprehensive guide, master the techniques necessary for handling data immutability and references in JavaScript, crucial skills for developing robust and maintainable applications.
Syllabus
Intro
Javascript data types review
passing values vs passing references
mutable vs immutable data
an impure function
how to make a shallow copy
how to shallow freeze an object
how to make a deep copy
a pure function
Review of concepts
Taught by
Dave Gray
Related Courses
Blockchain EssentialsCognitive Class Software Construction in Java
Massachusetts Institute of Technology via edX Just Enough Functional Programming in JavaScript
egghead.io The Ins and Outs of Python Tuples
egghead.io Functional Programming with Elixir – Full Course
freeCodeCamp