On Sun, May 1, 2011 at 1:45 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Python uses a data model of "name binding" and "call by object" (also > known as "call by sharing"). <snip> > As I understand it, Python and Ruby have the same data model. > So does Java, so long as you only consider objects and ignore unboxed > native values. I believe (but could be wrong) that another language of > about the same vintage as Python, Emerald, also uses the same model. > That's not surprising, because I believe that Emerald (just like Python) > was strongly influenced by CLU. > > What other languages use the same, or mostly similar, data model as > Python?
According to http://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sharing , besides those you already listed: Scheme, OCaml, AppleScript, and possibly VB, among "many other languages". I can't personally vouch for the accuracy of this. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list