

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.
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.
Poilievre: “Hrm… maybe if I take off my glasses…”
I misread the original quote as being from Terry Pratchett and as I was reading your comment I was like “No way in hell, what is this guy talking about?”.
Poilievre isn’t a Trump clone. Trump is perceived as an outsider to politics, someone who isn’t a normal politician. Poilievre hasn’t had any other jobs than being a politician, and tried to run with Trump’s policies. I’m not going to say that’s why he lost the election, but he’s a long way from being a clone since he lacked one of the major traits that most people who would vote for Trump would identify with.
That driver was using 0.5% of system resources! I thought it would be worse when I saw “259 blocks free”, but overall that’s pretty good.
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.