Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43906
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.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.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:: [': 0.04; '#define': 0.09; '#include': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'roy': 0.16; 'subject: \n ': 0.16; 'subject:OOP': 0.16; 'subject:object': 0.16; 'subject:possible': 0.16; 'subject:programming': 0.16; 'subject:type': 0.16; 'wished': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'coding': 0.22; "i've": 0.25; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'public.': 0.31; 'struct': 0.31; 'class': 0.32; 'no,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'behind': 0.37; 'changing': 0.37; 'to:addr:python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'subject:The': 0.64; 'telling': 0.64; 'direct': 0.67; '20,': 0.68; 'smith': 0.68; 'flexibility,': 0.84; '2013': 0.98 |
| 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:content-type; bh=iQvMWcQcOCT11ka2Dbj+45FdLVuWXEkXtF/EmvAinqg=; b=BUfwahfHIQ8IrGgXRkvamuI89X8rHhX0Q84a0eGA6Bb0wWO9x8+Z81cSLSDGMRTcmv OOiRUws1DI7uAjnupeYcB/7yNJ+xF/4+39/N3lnm8pPXUJsf9A4DdcVqbkhW/hMWUHp1 +RaYmDgchFzIMO+SWUles6egzsrpprP8527m0RaZ7qw6fDlzvfQ7ESgC0EJrLAK3VB+O O/CIj7ULcz7CMhKK3Qu0aDVawyHNYjgf48XiicY7dw6WtQ4VOE7KU+sm7lAZg517WTNc yhQyOJdN2ztFix7+hN/nbIhk4uzfnzFZ7kuoYvtILNwehnijlQtr77hc6pI22P+623+q wtSA== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.109.145 with SMTP id j17mr11874742vcp.34.1366386027041; Fri, 19 Apr 2013 08:40:27 -0700 (PDT) |
| In-Reply-To | <roy-C0B59C.11314819042013@news.panix.com> |
| References | <CAMjeLr_7A-NRtec=K_ZsjXA_oJHnD6+vpttz4Ma0vtDRbb+o2w@mail.gmail.com> <CAOvMSvXy=iJhUtMfncv-RE3HQw+7DJO-M1-TaeAFFhnDe9mpUA@mail.gmail.com> <CAMjeLr9WQz3KdXGYZUPumHj5MdBH29tYY0fdV49FNnDycDNWkQ@mail.gmail.com> <20846.27580.375000.899631@gargle.gargle.HOWL> <516EB4D1.1020103@ifi.lmu.de> <CAEG9JZADz3qsfkP70+dT_Gzw2cytGO1xagrNS0MVqTT8pfmxZw@mail.gmail.com> <mailman.798.1366320771.3114.python-list@python.org> <517131cd$0$29977$c3e8da3$5496439d@news.astraweb.com> <roy-D59E40.09071519042013@news.panix.com> <mailman.821.1366378384.3114.python-list@python.org> <roy-C0B59C.11314819042013@news.panix.com> |
| Date | Sat, 20 Apr 2013 01:40:26 +1000 |
| Subject | Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.824.1366386029.3114.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366386029 news.xs4all.nl 2215 [2001:888:2000:d::a6]:55610 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43906 |
Show key headers only | View raw
On Sat, Apr 20, 2013 at 1:31 AM, Roy Smith <roy@panix.com> wrote: > #define private public > #define protected public > #include <whatever.h> And: #define class struct But what I mean is that, _in my design_, I make everything public. No getters/setters, just direct member access. The theory behind getters and setters is that you can change the implementation without changing the interface... but I cannot remember a *single time* when I have made use of that flexibility. Not one. Nor a time when I've wished for that flexibility, after coding without it. No no, not one! ChrisA (He's telling the truth, he is not Mabel.)
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Robert Harper <rwh@cs.cmu.edu> - 2013-04-18 17:14 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-19 12:00 +0000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Roy Smith <roy@panix.com> - 2013-04-19 09:07 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Chris Angelico <rosuav@gmail.com> - 2013-04-19 23:33 +1000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Roy Smith <roy@panix.com> - 2013-04-19 11:31 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Chris Angelico <rosuav@gmail.com> - 2013-04-20 01:40 +1000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Roy Smith <roy@panix.com> - 2013-04-19 12:02 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-19 16:16 +0000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Ned Batchelder <ned@nedbatchelder.com> - 2013-04-19 12:41 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages 88888 Dihedral <dihedral88888@googlemail.com> - 2013-04-20 00:50 -0700
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-19 16:38 +0000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-04-19 19:03 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Roy Smith <roy@panix.com> - 2013-04-19 19:40 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-19 16:37 +0000
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Roy Smith <roy@panix.com> - 2013-04-19 19:37 -0400
Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-19 23:47 +0000
csiph-web