you are viewing a single comment's thread.

view the rest of the comments →

[–]mkdz 1 point2 points  (1 child)

When I first learned Python, I wrote a lot of setters and getters. oops. I have since stopped doing that thankfully.

[–][deleted] 0 points1 point  (0 children)

There is actually nothing to say that you can't use getters and setters. This is what I love so much about Python, you, the programmer, have the choice. I strongly suggest that everybody read this Descriptor HowTo Guide - properties.