Steven D'Aprano wrote:

Python uses a data model of "name binding" and "call by object" (also known as "call by sharing").

It can be summed up in a less jargony way by saying that all
data is stored in heap-allocated objects, and variables refer
to objects rather than containing them directly. Everything
else follows from that.

What other languages use the same, or mostly similar, data model as Python?

Pretty much any dynamically-typed language: Lisp, Scheme,
Smalltalk, Snobol, Icon, Postscript, Ruby, Lua, ...

Some languages have it for some data types but not others.
Java, VB, Objective-C come to mind.

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to