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


Groups > comp.lang.python > #80165 > unrolled thread

Re: Classes

Started byGreg Ewing <greg.ewing@canterbury.ac.nz>
First post2014-11-04 11:04 +1300
Last post2014-11-04 11:04 +1300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#80165 — Re: Classes

FromGreg Ewing <greg.ewing@canterbury.ac.nz>
Date2014-11-04 11:04 +1300
SubjectRe: Classes
Message-ID<mailman.15440.1415052257.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web