Is Immutability A Lie In Python?

Published: 06 January 2024
on channel: 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


Watch video Is Immutability A Lie In Python? online, duration hours minute second in high quality that is uploaded to the channel Indently 06 January 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 17,425 times and liked it 645 visitors.