10 Comments
User's avatar
⭠ Return to thread
Stephen Gruppetta's avatar

Another topic that’s relevant in that case is how Python uses “pass by assignment” when passing arguments to functions (and methods). Here’s a bit of reading on that topic, too: https://www.thepythoncodingstack.com/p/python-pass-by-value-reference-assignment

Expand full comment
Nigel Smith's avatar

Thanks - I will check that out.

Have just written up my own notes on the LEGB article - I have to say that is a masterclass of explanation and the use of the personas (Inna, Otto, Mina) works very well in getting the concepts across

Expand full comment
Stephen Gruppetta's avatar

Thank you! Glad you noticed the names weren't just randomly chosen!

Expand full comment