Classes

Seymore4Head Seymore4Head at Hotmail.invalid
Fri Oct 31 17:47:41 CET 2014


On Sat, 1 Nov 2014 03:37:29 +1100, Chris Angelico <rosuav at gmail.com>
wrote:

>On Sat, Nov 1, 2014 at 3:31 AM, Seymore4Head
><Seymore4Head at hotmail.invalid> wrote:
>[presumably quoting his course material]
>> In this class, we will follow the practice of accessing the contents
>> of objects using methods known as getters and setters. While not
>> required by Python, this practice encourages the user of the class to
>> manipulates class objects solely via class methods. The advantage of
>> following this practice is that the implementer of the class
>> definition (often someone other than the user of the class) may
>> restructure the organization of the data fields associated with the
>> object while avoiding the need to rewrite code that uses the class.
>
>Yep, that's teaching C++/Java coding using Python. Isn't it time you
>got onto a better course? Time and time again you've been going down
>inadvisable paths, and it seems to me you could do better with the
>inbuilt tutorial rather than this kind of course.
>
>ChrisA
inbuilt tutorial?

The course is free.  You can't beat the price.  It is only for a few
more weeks.

Trying to learn from reading the Internet has no set direction.  I
need a little nudge.  More like a shove.



More information about the Python-list mailing list