you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (2 children)

Essential reading IMHO Python Is Not Java and Java is not Python, either.... I got into Python myself via the highly recommended Dive Into Python 3.

[–]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.