-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight self #21
Comments
Strictly speaking |
Well, it was discussed a little bit before in #10. I don't want to add highlighting for
|
It is a conventional name, but it is used in literally 99.99% of all OO Python code. I have worked with Python almost exclusively for the better part of a decade, and I have never seen anyone use anything but For your first and second points, they can be tweaked. I'll respect your decision, but I'll also express some general concern about the Open Source way of disregarding useful ideas and changes because they might be troublesome for a single hypothetical power user. The lack of colored prompts and tab completion in default Debian and Ubuntu shells come to mind; the argument was that people still using print terminals or really slow computers would have a slightly worse time. |
Probably not so good example but there's a class which uses
I think the main point of Open Source is that you can create your own version of a project if you think that your changes are useful and they can't be incorporated to the mainline version for some reason. It's actually one of the reasons why this project exists. |
self
is the standard keyword for self-reference in Python OO. I suggest that we link it tospecial
.I tried to find prior discussion about this since I felt that this kinda had to be discussed before, but I found nothing. Apologies if that was the case!
The text was updated successfully, but these errors were encountered: