Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43407

OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dreamingforward@gmail.com>
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; '(at': 0.04; 'languages.': 0.04; 'guido': 0.05; 'subject:Python': 0.06; 'elements.': 0.07; 'see.': 0.07; 'subject: -- ': 0.07; 'subject:PEP': 0.07; 'abstraction': 0.09; 'oop': 0.09; 'things,': 0.09; 'unified': 0.09; 'developer': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language.': 0.14; 'thread': 0.14; '7:35': 0.16; 'cc:name:python list': 0.16; 'ecosystem': 0.16; 'mark,': 0.16; 'mean,': 0.16; 'opposite': 0.16; 'subject:Was': 0.16; 'subject:ideas': 0.16; 'subject:item': 0.16; 'two.': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'machine': 0.22; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'environment': 0.24; 'cc:2**0': 0.24; 'mention': 0.26; 'right.': 0.26; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'languages': 0.32; 'up.': 0.33; 'received:74.125.82': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'doing': 0.36; 'next': 0.36; 'too': 0.37; 'two': 0.37; 'architecture': 0.38; 'ends': 0.38; 'pm,': 0.38; 'received:74.125': 0.39; 'moving': 0.39; 'enough': 0.39; 'even': 0.60; 'ground': 0.60; 'middle': 0.60; 'affect': 0.61; 'first': 0.61; 'discuss': 0.62; 'personal': 0.63; 'different': 0.65; 'here': 0.66; 'fact,': 0.69; 'present.': 0.74; 'batchelder': 0.84; 'mindset': 0.84; 'responding.': 0.84; 'taxonomy': 0.84; 'imagine': 0.93; 'realistic': 0.93; 'washington': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=UftOFXsSRzkSq0SOuFQ3A4qSUV76W9K+ZdP7gXn6WGQ=; b=oL5uCp3K1bh3nd14WlOlWytYQXe8+RkWhWCpnXoLkcN4pp7BfjchlL5Qn/ZLH/NgWz eHTXPjr777Ltbb6wZ6BceFUj/kif07Zg49WGL+wecN6g1UVDbhJxtZEmK7NBKqqvsbJ7 yQS0Gg64E694c1O77yexvBq0tN1pv7/1mni7z5kfEXK8DKWMBidi2qtXEu6Y1/RKjx/e lFUe//ezRyCm5RqWM2+1+NPavCARYJCNW2dOof9QEVvKUM/6zSiWZ9LqSEUDsBxTf7W+ Dtp+XK1SaBfmSmEIcMIo4FOHqgStjQ8ql7Y7EfwrCI39GIsHzb92o1iHofgrceEr3n9W 5utQ==
MIME-Version 1.0
X-Received by 10.194.77.110 with SMTP id r14mr14200410wjw.2.1365726596796; Thu, 11 Apr 2013 17:29:56 -0700 (PDT)
Date Thu, 11 Apr 2013 17:29:56 -0700
Subject OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"
From Mark Janssen <dreamingforward@gmail.com>
To Ned Batchelder <ned@nedbatchelder.com>
Content-Type text/plain; charset=ISO-8859-1
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.493.1365726598.3114.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365726598 news.xs4all.nl 2595 [2001:888:2000:d::a6]:58062
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43407

Show key headers only | View raw


On Sat, Apr 6, 2013 at 7:35 PM, Ned Batchelder <ned@nedbatchelder.com> wrote:
> Mark, so I can understand your mindset better, what do you mean by "let's
> update the OOP paradigm"?  Do you mean, 1) "let's change Python in the next
> release," or 2) "let's see if we can imagine a different way of doing
> things, even though it won't ever change the Python language in actuality,"
> or 3) something in between?

Sorry for not responding.  What I'm suggesting is an update to the OOP
paradigm -- it would affect all languages that have OOP elements.
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.

We started on one end of the spectrum (at the machine architecture)
and then swung to an opposite extreme with OOP.  But that put us too
deep in everyone's personal data ontologies.  I'm suggesting that
something in the middle will re-build the object ecosystem from the
ground up.

> This change you mention here is fundamental enough that realistically, #2 is
> the only interpretation I can see.

You are right.  It might not be realistic given the Python developer
environment at present.   In fact, I'm moving the thread out of
python-ideas into python-list since Guido doesn't want to discuss it.

-- 
MarkJ
Tacoma, Washington

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)" Mark Janssen <dreamingforward@gmail.com> - 2013-04-11 17:29 -0700

csiph-web