Is Immutability A Lie In Python?

Published: 06 January 2024
on channel: Indently
24,846
794

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


Watch video Is Immutability A Lie In Python? online without registration, duration hours minute second in high quality. This video was added by user Indently 06 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 24,846 once and liked it 794 people.