Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90328
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'variables': 0.07; 'handful': 0.09; 'namespace': 0.09; 'oop': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'quoted': 0.16; 'underlying': 0.16; 'component': 0.16; 'language': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'cc:addr:python.org': 0.22; 'convenient': 0.24; 'stopping': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; '(for': 0.26; 'primary': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'boundary': 0.31; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'machine.': 0.36; 'doing': 0.36; 'two': 0.37; 'skip:[ 10': 0.38; 'issue': 0.38; 'sure': 0.39; 'space': 0.40; 'how': 0.40; 'world.': 0.61; "you're": 0.61; 'hear': 0.63; 'between': 0.67; 'statement,': 0.68; 'now:': 0.74; '2015': 0.84; 'beats': 0.84; 'zen': 0.84; 'to:none': 0.92; 'archive.': 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:cc :content-type; bh=JBp1rxOB3u+RCvBBcuA30U3x0STsCQVxNzMt1IlyY4A=; b=Y6lbBubQo0T2Ai5tcY0vqOJ/BZufcY3NC5XXz2vro517DqRhZqnRJsxIZUryBmHFBK dUSRidikQBJvtUgmQJZeB6mZmFl4iSADNpP/01JLC30z606Fp4FC+gnTcwSGHR35Bb0K njF+5K8pYHKqQtqK83WJ/rlwV4besEvzxRk/loEYco26M6XBvsQsoKbbzndYKZiWXn7w iyEdmV6mDs6OkTCq2JJbmjCdp6jm7rFUXVLQerA+CYsmQ3lm7MvHsTkUflFg87zB2oNc hXukC5N89pZjc5BDE+DOdjAb5xETJy6SLzXnRyCU/Y8KlDDamW/GLP1OTvuZabPXdbeo Hoxw== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.114.35 with SMTP id jd3mr11584434igb.14.1431309614155; Sun, 10 May 2015 19:00:14 -0700 (PDT) |
| In-Reply-To | <56a4cc19-a6c1-4c55-873f-e944d4ad9165@googlegroups.com> |
| References | <e3725c9b-9f03-494a-a6a3-9d089f4f129c@d32g2000yqh.googlegroups.com> <d44977dc-2473-46e6-914c-1b218f32af85@d36g2000prb.googlegroups.com> <56a4cc19-a6c1-4c55-873f-e944d4ad9165@googlegroups.com> |
| Date | Mon, 11 May 2015 12:00:14 +1000 |
| Subject | Re: Confessions of a Python fanboy |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.335.1431309617.12865.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1431309617 news.xs4all.nl 2919 [2001:888:2000:d::a6]:54641 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:90328 |
Show key headers only | View raw
On Mon, May 11, 2015 at 11:46 AM, zipher <dreamingforward@gmail.com> wrote: >> > 3.) true OOP >> > Now before you go and get all "huffy" over this statement, hear me >> > out. Python is the best language in the world. But it damn sure has >> > some warts! "len(this)" instead of "obj.length" max(that) instead of >> > [1,2,3,4,5].max(). >> >> As the Zen says: '[P]racticality beats purity'. Personally, I'm not >> sure how a handful of convenient built-in functions make a language in >> which _everything is an object_ somehow "false" OO. >> >> If you're really that concerned with writing "true" OO (for some >> wildly variable value of "true"), there's nothing stopping you from >> doing so now: >> >> obj.__len__() > > The issue is that Python currently blurs a very powerful conceptual boundary in CS -- between the abstract space where objects and variables are held and the concrete underlying machine. > > By having methods like len() in your built-in namespace when it's really only relevant to objects that are types of containers, you blur one primary component of OOP: encapsulation. > Please take care of your quoting. You just quoted two other posts, and I have no idea who said things without going and digging in the archive. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Confessions of a Python fanboy zipher <dreamingforward@gmail.com> - 2015-05-10 18:46 -0700
Re: Confessions of a Python fanboy Chris Angelico <rosuav@gmail.com> - 2015-05-11 12:00 +1000
Re: Confessions of a Python fanboy zipher <dreamingforward@gmail.com> - 2015-05-10 19:11 -0700
Re: Confessions of a Python fanboy Chris Angelico <rosuav@gmail.com> - 2015-05-11 12:18 +1000
OFFTOPIC, WAS Re: Confessions of a Python fanboy zipher <dreamingforward@gmail.com> - 2015-05-10 19:27 -0700
Re: OFFTOPIC, WAS Re: Confessions of a Python fanboy Ben Finney <ben+python@benfinney.id.au> - 2015-05-11 12:41 +1000
Re: Confessions of a Python fanboy Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-11 16:15 +1000
Re: Confessions of a Python fanboy Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-11 07:31 +0100
csiph-web