What other languages use the same data model as Python?
Hrvoje Niksic
hniksic at xemacs.org
Tue May 3 09:50:55 EDT 2011
Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> "Python's data model is different from other languages"
>
> which is perfectly correct, if you think of C as "other languages". But
> it's equally correct to say that Python's data model is the same as other
> languages. As I understand it, Python and Ruby have the same data model.
> So does Java, so long as you only consider objects[...]
> What other languages use the same, or mostly similar, data model as
> Python?
Count in Common Lisp and Scheme.
I would say that, considering currently most popular languages and
platforms, Python's data model is in the majority. It is only the
people coming from a C++ background that tend to be confused by it.
More information about the Python-list
mailing list