Is Immutability A Lie In Python?

Опубликовано: 06 Январь 2024
на канале: Indently
17,425
645

Is immutability a lie in Python? If we can change tuples and strings, can they really be considered immutable? Well, I will be explaining all of that in the video.

▶ Become job-ready with Python:
https://www.indently.io

▶ Follow me on Instagram:
  / indentlyreels  

00:00 Intro
00:15 Updating a string
00:38 I thought strings were immutable though?
00:46 Tuples can also be changed???
01:23 Is immutability a lie in Python?
01:29 Indently.io (AD)
02:17 What happens when we change immutable types
02:52 So that’s why
03:37 Why understanding immutability is important
04:24 Strings are also immutable
04:40 Summing it up
05:06 Behind the scenes


Смотрите видео Is Immutability A Lie In Python? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Indently 06 Январь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 17,42 раз и оно понравилось 64 людям.