Is Immutability A Lie In Python?

Pubblicato il: 06 gennaio 2024
sul canale di: Indently
42,345
1.1k

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


In questa pagina del sito puoi guardare il video online Is Immutability A Lie In Python? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Indently 06 gennaio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 42,345 volte e gli è piaciuto 1.1 mille spettatori. Buona visione!