Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'oop': 0.09; 'cc:addr :python-list': 0.11; 'data)': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'imo.': 0.16; 'inheritance': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; "i've": 0.25; 'least': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '"do': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'subject: (': 0.35; 'knows': 0.35; 'done.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'object,': 0.36; 'surely': 0.36; 'should': 0.36; 'operating': 0.37; 'rather': 0.38; 'how': 0.40; 'such': 0.63; 'mar': 0.68; 'to:none': 0.92 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:cc :content-type; bh=tA+b7WaNb16v2RlEKo4u+miPc6xNlIsCWRsYkRFXeGg=; b=W3cvbXhekEx5bxQk2e4lA3fEyAbJwf6MlhJPqJjG9OMkm43cXeTAQwjc6dusrQIMPx YDHdXgKfGnBvlqVY9acrv9gzbnArYM7C+LEbcBJKZYoMjbwJyd2vPHyEWbWYcGFbeSs1 G+cShh6XorYFMIsL5UdO284enGwl3MrNKhuZGkxnJXw9oBTIHUmPMJPlaNF71lbgtR4G M/Xx/byzZZxycURiI7MvCkllZbBnOTiOCFP3vIToaIn+Zush5jJGDfNPHAVgLNwIlcT4 wuCQliKlvmkaFvKvkryOcRgVzgWCDj8tb5uYYNY6mMKblGDs3wHBc9g+wYbKcSOuOvb4 TH4w== MIME-Version: 1.0 X-Received: by 10.68.112.164 with SMTP id ir4mr9197127pbb.153.1396020344248; Fri, 28 Mar 2014 08:25:44 -0700 (PDT) In-Reply-To: <533588a3$0$29994$c3e8da3$5496439d@news.astraweb.com> References: <53336df8$0$29994$c3e8da3$5496439d@news.astraweb.com> <5334b747$0$29994$c3e8da3$5496439d@news.astraweb.com> <533558fa$0$29994$c3e8da3$5496439d@news.astraweb.com> <533588a3$0$29994$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 29 Mar 2014 02:25:44 +1100 Subject: Re: YADTR (Yet Another DateTime Rant) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396020360 news.xs4all.nl 2952 [2001:888:2000:d::a6]:46914 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69281 On Sat, Mar 29, 2014 at 1:35 AM, Steven D'Aprano wrote: > It's difficult to pin-point exactly what characteristics of OOP are > fundamental, but inheritance is surely one of them. I've always understood OOP to be all about binding code and data together (methods as part of an object, rather than functions operating on data) - ie polymorphism, such that you say "do this" and the object knows how its "do this" should be done. That's at least as important as inheritance IMO. But yes, it is very hard to pin it down. ChrisA