Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'linux,': 0.07; 'objects,': 0.09; 'oop': 0.09; 'cc:addr:python- list': 0.11; 'language.': 0.14; 'mostly': 0.14; '"object': 0.16; 'cc:name:python list': 0.16; 'guessing': 0.16; 'objection': 0.16; 'subclass': 0.16; 'subject:Java': 0.16; 'those,': 0.16; 'url:file': 0.16; 'not,': 0.20; '>>>': 0.22; 'otherwise,': 0.22; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'oriented': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '>>>>': 0.31; 'url:python': 0.33; '(i.e.': 0.33; 'entirely': 0.33; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'c++': 0.36; 'done': 0.36; 'doing': 0.36; 'possible': 0.36; 'url:org': 0.36; 'visual': 0.39; 'system.': 0.39; 'how': 0.40; "you're": 0.61; 'first': 0.61; 'real': 0.63; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'here': 0.66; "else's": 0.84; 'url:cpython': 0.84; 'windowing': 0.84; 'inheritance,': 0.93; 'washington': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jW5lv1m0zuPsVwGXz9fMGlRgxpW3jXE2OSu+QlZ8z4U=; b=sW4DbEBjbNeN6Vg/pwcEQJtaq8RNIlCu2S16WUPYLiTR35e1eg2JT4D4DwCtH+v4SS oWZM6wfddwjy/a42s1FkEUTJZ/31dzxvhl4YNrxE6fzEfbLphP51WoGB/H6HrG68F6AO fz9j3+3K7/mQM4cc+cG20lMXz0vO/LKK2d5RoaSk92YS/hsbzFdj7DUEFT7VdZxQX+qo Z3Fwcyo+2/gjFPRpov/vT6PKK/lJv+BQVqa5+yyRWOrfv6zV0gR6sda8EbEZF38mqLoW N8tgDQICBEMB1HYjYRReMOcOREDiEOgQdVU8m3pRKMByNysrXNf8DJkYlimxEJRWlw6O l/WQ== MIME-Version: 1.0 X-Received: by 10.180.73.113 with SMTP id k17mr26352777wiv.6.1381968836485; Wed, 16 Oct 2013 17:13:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Oct 2013 17:13:56 -0700 Subject: Re: Python was designed (was Re: Multi-threading in Python vs Java) From: Mark Janssen To: Chris Angelico 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381968844 news.xs4all.nl 15893 [2001:888:2000:d::a6]:58885 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56912 >>>> Who uses "object abstraction" in C? No one. That's why C++ was invented. >>> >> If not, Linux, how about Python? >> >> http://hg.python.org/cpython/file/e2a411a429d6/Objects > > Or huge slabs of the OS/2 Presentation Manager, which is entirely > object oriented and mostly C. It's done with SOM, so it's possible to > subclass someone else's object using a completely different language. Now this is the first real objection to my statement: OS/2 and the Presentation Manager, or windowing system. But, here it is significant that the user /consumer (i.e. *at the workstation* mind you) is *making* the "object" because thier visual system turns it into one. Otherwise, at the C-level, I'm guessing it's normal C code without objects, only struct-ured data. That is, you don't get all the OOP benefits like inheritance, polymorphism and encapsulation. C can do 2 of those, albeit kludgingly, but not all three. And without all three, it's not at all well-established that you're doing real OOP. -- MarkJ Tacoma, Washington