Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80165

Re: Classes

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <greg.ewing@canterbury.ac.nz>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'python': 0.11; '*only*': 0.16; '*other*': 0.16; 'blanket': 0.16; 'blindly': 0.16; 'from:addr:greg.ewing': 0.16; 'from:name:greg ewing': 0.16; 'matters,': 0.16; 'message- id:@canterbury.ac.nz': 0.16; 'subject:Classes': 0.16; 'utterly': 0.16; 'applies': 0.16; 'wrote:': 0.18; 'preferred': 0.22; 'saying': 0.22; 'header:User-Agent:1': 0.23; 'greg': 0.24; 'java': 0.24; 'question': 0.24; 'point': 0.28; 'statement': 0.30; "i'm": 0.30; 'context,': 0.31; 'received:132': 0.31; 'steven': 0.31; 'languages': 0.32; 'agree': 0.35; 'one,': 0.35; 'but': 0.35; 'c++': 0.36; 'wrong': 0.37; 'to:addr:python-list': 0.38; 'fact': 0.38; 'to:addr:python.org': 0.39; 'received:nz': 0.60; 'course': 0.61; 'teaching': 0.64; 'book.': 0.68; 'header:In-reply-to:1': 0.84; 'quotation': 0.93
Date Tue, 04 Nov 2014 11:04:11 +1300
From Greg Ewing <greg.ewing@canterbury.ac.nz>
Subject Re: Classes
In-reply-to <910361298.2515286.1415018501753.JavaMail.root@sequans.com>
To python-list@python.org
MIME-version 1.0
Content-type text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding 7bit
X-Accept-Language en-us, en
User-Agent Mozilla Thunderbird 1.0.5 (Macintosh/20050711)
References <910361298.2515286.1415018501753.JavaMail.root@sequans.com>
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 <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.15440.1415052257.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415052257 news.xs4all.nl 2909 [2001:888:2000:d::a6]:51655
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80165

Show key headers only | View raw


Jean-Michel Pichavant wrote:

> I agree with Steven on that one, while getters/setters are not the preferred
> way, they are not utterly wrong.

I'm not saying that they're wrong in general, only that
they're wrong for *Python*.

This matters, because the course in question is purportedly
teaching Python. To make a blanket statement like that in
a Python course, without pointing out that it applies
*only* to some languages *other* than Python, is grossly
misleading.

Now it may be that the quotation is taken out of context,
and the instructor did in fact point this out, but the
way the paragraph is worded, it sounds like it's just
been blindly lifted from some Java or C++ book.
-- 
Greg

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Classes Greg Ewing <greg.ewing@canterbury.ac.nz> - 2014-11-04 11:04 +1300

csiph-web