Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43914
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ned@nedbatchelder.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.04; 'mind,': 0.09; 'cc:addr:python-list': 0.11; '"private"': 0.16; 'expert,': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'roy': 0.16; 'structs': 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; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'question': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'subject:/': 0.26; 'header:In- Reply-To:1': 0.27; "i'm": 0.30; "d'aprano": 0.31; 'steven': 0.31; 'struct': 0.31; 'class': 0.32; 'fri,': 0.33; 'classes': 0.35; 'but': 0.35; 'c++': 0.36; 'pm,': 0.38; 'how': 0.40; 'experts': 0.60; 'interview': 0.61; 'subject:The': 0.64; 'great': 0.65; 'between': 0.67; 'smith': 0.68; 'default': 0.69; 'inquiring': 0.84; '2013': 0.98 |
| Date | Fri, 19 Apr 2013 12:41:03 -0400 |
| From | Ned Batchelder <ned@nedbatchelder.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
| MIME-Version | 1.0 |
| To | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
| Subject | Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages |
| 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> <mailman.824.1366386029.3114.python-list@python.org> <roy-CBFB64.12020019042013@news.panix.com> <51716dd1$0$29977$c3e8da3$5496439d@news.astraweb.com> |
| In-Reply-To | <51716dd1$0$29977$c3e8da3$5496439d@news.astraweb.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Cc | 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.829.1366389709.3114.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366389709 news.xs4all.nl 2233 [2001:888:2000:d::a6]:39939 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43914 |
Show key headers only | View raw
On 4/19/2013 12:16 PM, Steven D'Aprano wrote: > On Fri, 19 Apr 2013 12:02:00 -0400, Roy Smith wrote: > >> PS: a great C++ interview question is, "What's the difference between a >> class and a struct?" Amazing how few self-professed C++ experts have no >> clue. > I'm not a C++ expert, but I am an inquiring mind, and I want to know the > answer! > > The only difference between a class and a struct is that classes default to "private" access for their members, and structs default to "public". --Ned.
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