Chris Angelico <ros...@gmail.com>:

> I've explained Python's (or JavaScript's, since they're the same)
> object model to a number of novice programmers without any
> difficulties, without talking about pointers or invisible values or
> any of that junk. There are just two things to explain: the concept of
> names referring to objects, and variable scope.

The JavaScript spec wrt assignment etc is actually a bit difficult to
understand: <URL: https://www.ecma-international.org/ecma-262/5.1/>.

Scheme, which also shares the same object model with Python, has a very
down-to-earth specification that uses the term "location:"

   <URL: http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-6.ht
   ml#%_sec_3.4>


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to