The meaning of `this`

https://lemmy.world/post/31027668

Partially unrelated to the meme, but I find it almost malicious how some python keywords are named differently from the nearly universal counterpart of other languagues.

This/self, continue/pass, except/catch and they couldn’t find a different word for switch so they just didn’t implement it.

It’s as if the original designers purposefully wanted to be different for the sake of it.

I read that self as a keyword also has quite a history. It was already used in Smalltalk, an OOP language from the early 80’s.
Smalltalk - Wikipedia

Isn’t self not actually a keyword? Like you can name the first variable in a class method anything and it will behave like self.
You could use “this” instead of “self”. And if you want a lynch mob of Python programmers outside your house, make a push request with that to some commonly used package.
I think there will be a lynch mob of git users outside your house for calling PR as “push request”.
I’ve been wondering about the noise.
TECHNICALLY, there is no such thing as a pull request in git. That’s a Github convention. It’s really a merge request
only github users. git itself doesn’t have PRs, and other forges call them different things. gitlab calls them merge requests, pico calls them patch requests…
You could even choose the name this.