Greg Ewing greg.ewing at
Mon Nov 3 23:04:11 CET 2014

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

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.

More information about the Python-list mailing list