Is python pass by value or pass by reference? [In 3 Min]

Pubblicato il: 12 dicembre 2021
sul canale di: Erik's Coding
1,083
15

In this video we learn about whether Python is a Pass by Value or a Pass by Reference language (Truth is it is neither - Python is most widely known as Pass by Object Reference). This video demonstrates how Python variables are stored in memory underneath the hood of Python in its most widely used CPython reference implementation.

That's what it is, but why does it matter to us as developers? In this video we go over what this implementation means for our variables and how they share references in memory. Shared memory affects how we develop code, if our variables are sharing memory, we cannot change variable values without affecting other variables values as well. Tune in for an in depth overview of how Python stores variables in memory.


In questa pagina del sito puoi guardare il video online Is python pass by value or pass by reference? [In 3 Min] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Erik's Coding 12 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,083 volte e gli è piaciuto 15 spettatori. Buona visione!