Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!easy.in-chemnitz.de!feeder.erje.net!news-hub.siol.net!newsfeed.t-com.hr!garrison.bnet.hr!gregory.BNet.hr!busola.homelinux.net!not-for-mail From: Hrvoje Niksic Newsgroups: comp.lang.python Subject: Re: What other languages use the same data model as Python? Date: Tue, 03 May 2011 15:50:55 +0200 Organization: B.net Hrvatska d.o.o. Lines: 16 Message-ID: <87aaf351vk.fsf@xemacs.org> References: <4dbd1dbf$0$29991$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: cpezg-94-253-140-54-cbl.xnet.hr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: gregory.bnet.hr 1304431201 28165 94.253.140.54 (3 May 2011 14:00:01 GMT) X-Complaints-To: abuse@globalnet.hr NNTP-Posting-Date: Tue, 3 May 2011 14:00:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:yNrSgk3fcZLzW7xS9xwI4ZA+Pdc= Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4542 Steven D'Aprano 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.