Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29398
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@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; 'attribute': 0.05; 'mrab': 0.05; 'sep': 0.09; 'language': 0.14; 'received:74.125.82.44': 0.15; 'java,': 0.15; 'properties.': 0.16; 'used:': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'define': 0.20; "i've": 0.23; 'header:In- Reply-To:1': 0.25; 'c++': 0.27; 'message-id:@mail.gmail.com': 0.27; 'decide': 0.28; '"in': 0.29; 'code': 0.31; 'received:74.125.82': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'needed': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'but': 0.36; 'received:74.125': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'between': 0.63; 'delphi': 0.84; 'delphi,': 0.84; 'angel': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Q27CvFrfgSxcjFwjTV4UoHBE5dlFemajKG3A8wM8xEw=; b=XyWv7D4mzktwTvDcdkUgwg/g7EEz6D1irXyZZY6qD3a0RjTyKRUVEJVp3//dcIhEve oV8SyU5Q6uPwPGof9LaADhkUq9MXxkI9JQSuHNSaUBe3fMf28sAPVJ/5/l4Btuz5/TjW 5yzIqA0XrAR6YMfHQt/6hXNKa1FxqVxMbbZWFXHseibFTXk2idN8XNnI0L0fsmqtXJxE 9WfCcCF3jHiRYl2lxSrVkvHr2SyLc4yXstXaW9fiZANkOnq1dThsia+Vsk/cwwM/T9JU AWlBw51aUjOAyg6mCVGSIMWATY9zxh3lNkHsvR+R7dahH0qDM6f597mF81AMrv/5AEeF hCBw== |
| MIME-Version | 1.0 |
| In-Reply-To | <5057BFC4.7020904@mrabarnett.plus.com> |
| References | <CAGYVzb1-D4xyCeYHL6R1_O8msDfn9pd=UcuYhno5i3HCkB_t=A@mail.gmail.com> <CAPTjJmrwctEeXfqmn1Aejqq8jR6p8-97Ur=E8E6PaeGe2o=+Rg@mail.gmail.com> <k38c2u$q28$1@ger.gmane.org> <5057B64F.2080500@davea.name> <5057BFC4.7020904@mrabarnett.plus.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Mon, 17 Sep 2012 18:35:46 -0600 |
| Subject | Re: how to use property? |
| 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.849.1347928578.27098.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1347928578 news.xs4all.nl 6970 [2001:888:2000:d::a6]:32818 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29398 |
Show key headers only | View raw
On Mon, Sep 17, 2012 at 6:26 PM, MRAB <python@mrabarnett.plus.com> wrote: > On 2012-09-18 00:46, Dave Angel wrote: >> An important difference from every other language I've used: The user >> of the attribute does not need to change his code when you decide it >> needs reimplementation as a property. >> >> In C++ and java, for example, people will define getter and setter >> methods just so they don't have to change them later. Just "in case" >> it's needed later. >> > C# and Delphi (IIRC) also support properties. I don't know about Delphi, but in .NET changing between a public field and a property breaks ABI.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to use property? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-17 18:35 -0600
csiph-web