Comment on OOP Before OOP with SimulaparentComments−marmaduke7ySelf in Python isn't magical, it's just the bound instance conventionally named self. An object isn't magical, just syntactic sugar over a dictionary/namespace. Class syntax isn't magical but syntactic sugar for a call to type function.
Comments
Self in Python isn't magical, it's just the bound instance conventionally named self. An object isn't magical, just syntactic sugar over a dictionary/namespace. Class syntax isn't magical but syntactic sugar for a call to type function.