Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.mixmin.net!hq-usenetpeers.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'subject:: [': 0.04; 'languages.': 0.04; 'subject:Python': 0.06; 'ignored': 0.07; 'javascript,': 0.07; 'subject: -- ': 0.07; 'subject:PEP': 0.07; 'abstraction': 0.09; 'oop': 0.09; 'unified': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language.': 0.14; 'thread': 0.14; 'cc:name:python list': 0.16; 'objects.': 0.16; 'paradigm.': 0.16; 'subject:Was': 0.16; 'subject:ideas': 0.16; 'subject:item': 0.16; 'two.': 0.16; 'java,': 0.16; 'language': 0.16; 'bit': 0.19; 'subject:] ': 0.20; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'space.': 0.24; 'java': 0.24; 'cc:2**0': 0.24; '(see': 0.26; 'values': 0.27; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'apparently': 0.31; 'there.': 0.32; 'languages': 0.32; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'keyword': 0.36; 'two': 0.37; 'architecture': 0.38; 'ends': 0.38; 'sure': 0.39; 'called': 0.40; 'read': 0.60; "you're": 0.61; 'first': 0.61; "you'll": 0.62; 'beats': 0.84; 'different.': 0.84; 'history,': 0.84; 'lol,': 0.84; 'subtly': 0.84; 'taxonomy': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=+Ssmf4eG4HL0otF9XM9netSVD3s/X5KKJfNvQP8xfmI=; b=lk8CjeX1pBz77QFMBIL/jWQ8XdCMCqWW0HBK9Oh3VTY+Ch3KqRtMZb6xewl9hjIn6o /iDwr7rVVt6CBYFuElgPkrYMEB4fv9Y5ZgmsCle4IektLw2105sYgSYRaEeCbNL1Sbkg lS1BxllLxLp81cGIy2z9+7TSp3O7Ov7W3qIjZW2ck/qk9tOXE66nsbhi+aQYtjEu/ecU FiM513+7awyFdGw3LQspVrhGC/SpYTBlSvyqOCJNFhjE3FfpluHCgFUm/fVB7O08A9XK 3H0ooWAFN6CNXwxjQDAv4BC4S8WL8DhaDsEouTcGyZidjSlRfIkr+jt4Rpffj0MsMqQ8 MgKg== MIME-Version: 1.0 X-Received: by 10.180.82.33 with SMTP id f1mr978439wiy.13.1365732332330; Thu, 11 Apr 2013 19:05:32 -0700 (PDT) In-Reply-To: <516763EE.1010300@nedbatchelder.com> References: <516763EE.1010300@nedbatchelder.com> Date: Thu, 11 Apr 2013 19:05:32 -0700 Subject: Re: OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)" From: Mark Janssen To: Ned Batchelder Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365732339 news.xs4all.nl 2615 [2001:888:2000:d::a6]:58384 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43414 > But there is no single "OOP" paradigm. Java vs Python vs Ruby vs > Javascript, they're all subtly different. "Subtly" is the keyword there. Predominately, they are the same -- they try to make a pure OOP object model in an imagined abstract space. >> Wikipedia suggests that there are four main types of programming >> languages. OOP language and imperative languages are the first two. >> I'm suggesting a synthesis and unification of both those into single >> language. To do that will require a data/object model that makes a >> single taxonomy of the data/machine architecture with the abstraction >> architecture -- two ends of the spectrum. I call it a unified data >> model. > > This sounds a lot like Java, which has primitive values and objects. Are > you familiar with it? I'm not sure what you're suggesting is so > revolutionary. Lol, apparently you're not all that familiar with Python history, because Python had it also, it called them types and objects (see the docs on v2.2). If you read my thread I just sent out, you'll get what I'm after a bit more. But basically, is that python ignored its Zen: that practicality beats purity. Mark