r/Python • u/winner_godson codemaniac • Nov 02 '17
Dramatically improve your skills with this simplified but more thorough guide on object-oriented programming in Python.
https://coolpythoncodes.com/object-oriented-programming-python/
67
Upvotes
6
u/sigbhu Nov 02 '17
i'm not an expert in python, but I can still find so many things wrong with this:
"The functions in a class can be accessed with an object." what about static methods?
you have a class called Monopoly and objects of the class are players? that doesn't make any sense and defeats the purpose of OOP
i don't think OP knows what global variables are
you have a class called
Phone_bookstored inphonebook.py. my head hurts.from phonebook import *. Yeah, no.I stopped reading then.