2 ms·
Could be worse: could be one of the debates about Python, where people who don't work in Python insist that it must follow one or the other paradigm (when tryin
by ubernostrum 12y ago
Could be worse: could be one of the debates about Python, where people who don't work in Python insist that it must follow one or the other paradigm (when trying to shoehorn either a consistent pass-by-value or a consistent pass-by-reference interpretation on Python's behavior will lead you to write code with bugs).
- Veedrac 12y agoHow is Python not pass-pointer-by-value?
- ubernostrum 12y agoThe main issue, as I noted, is people who come from other languages and have preconceived notions about what "pass by value" and "pass by reference" mean and preconceived expectations about language behavior as a result. In Python, worrying about whether it's "pass-by-X" paradigm is practically worthless; instead, what you want to know in Python is which types are mutable.