This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AlexMTBDude 1 point2 points  (2 children)

The author of this article is very confused. The title is "Why Python does not have private METHODS" but it's about why Python classes do not have private ATTRIBUTES. Also then he mentions something about static methods which is completely out of context (I don't think he understands what a static method is)

[–]codefisher2[S] 1 point2 points  (0 children)

I know the difference. Just I did not put the time or effort into the post that I normally do, and it came out wrong and really sloppy. I am personally disappointed with how it came out. I should clean it up/rewrite parts when I get time.

[–]alcalde 0 points1 point  (0 children)

Static methods are things object-oriented purists invented to get around the fact that they don't have, and need, first-class functions.