Const vs Immutable (Plus Shallow vs Deep)

Опубликовано: 22 Февраль 2021
на канале: Joel Codes
962
86

While const and immutability are related, they are two separate concepts. These concepts often get confused, so I thought it made sense to cover them together.

It is my goal to not simply give you definitions, which are often forgotten. Instead, give you the intuition to understand the differences and why they work the way they do.

00:00 - Intro
00:21 - Visualizing Code
00:53 - Const
02:02 - Immutability with Object.freeze
03:29 - Deep Immutability
04:40 - Recap
05:52 - 🐱 Dumpling

Article:
https://joel.net/const-vs-immutable-p...

deepFreeze Function
https://developer.mozilla.org/en-US/d...

Subscribe to my Newsletter (https://joel.net/newsletter) to continue learning about Cloudflare Workers!

Cheers 🍻

Join my 📰 Newsletter - https://joel.net/newsletter
Subscribe to my 📺 YouTube, JoelCodes
Say hi to me on Twitter @joelnet -   / joelnet  

Music: Slynk | Track: X Ray Vision
Music without copyright - Attribution not required.
Download MP3 - https://www.youtube.com/audiolibrary_...


На этой странице сайта вы можете посмотреть видео онлайн Const vs Immutable (Plus Shallow vs Deep) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Joel Codes 22 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 962 раз и оно понравилось 86 зрителям. Приятного просмотра!