I was looking to see if there are equivalents to Java’s private and protected members, and it looks like Python’s answer to that is just throw one or two underscores in front of things to do that. And it doesn’t really do anything, more of just a naming convention. To me that feels like a basic OO structure that is shoehorned into Python.
You’re right in that OOP feels very shoehorned in with Python. But not every project has a Linus Torvalds to publicly humiliate horrible ideas and implementations.
Write a new method, make sure to reference self first. Write a new method, make sure to reference self first. Call the method, make sure to reference self first.
Yeah, I can see it.
We’re gonna need a bigger ladder.
I just love watching people making do with what they have. I was wondering how in the hell he was going to get out of the car and thought he’d have to go out the window. His method was only a little scary and pretty impressive.
I’m colourblind and forgot if the links start blue or purple. Dammit.
I find it crazy that this comic was published in 1992. Still as relevant as back then. Maybe moreso.