Comment by mathisfun123

5 days ago

> considered nuts - or at least an unfortunate early decision

Please explain to us then how exactly you would infer a variable with an arbitrary name is actually a reference to the class instance in an interpreted language.

>Please explain to us then how exactly you would infer a variable with an arbitrary name is actually a reference to the class instance in an interpreted language.

Did I stutter when I wrote about "an unfortunate early decision"? Who said it has to be "an arbitrary name"?

Even so, you could add a bloody marker announcing an arbitrary name (which 99% would be self anyway) as so, as an instruction to the interpreter. If it fails, it fails, like countless other things that can fail during runtime in Python today.

  • But now you are no longer talking about the way Python works, but the way you want Python to work - and that has nothing to do with Python.

    • "The way our economy works is bad"

      "That's how it's been since forever, it's an essential part of country X"

      "Yes, and it's a badly designed part".

      "But now you are no longer talking about the way country X works, but the way you want country X to work - and that has nothing to do with country X."

      See how the argument quickly degenerates?

      2 replies →