On Fri, 2 May 2008, Greg Ewing wrote: > Guido van Rossum wrote: >> The >> alternative would be to make it a keyword, which seemed excessive >> (plus, it would be odd if super() were a keyword when self is not). > > If it's really such a useful thing as to warrant so much > magic to support it, then I think it deserves to have a > keyword. > > Conversely, I would say that if it doesn't deserve a > keyword, it also doesn't deserve that much magic. One might even go further and say that if it's that magic, then it's a keyword by definition. Certainly I would want a syntax-highlighting editor to highlight it somehow, and if the editor has a "rename" feature to rename a variable and replace all references to it (but not other uses of the same identifiers in different scope), then it probably should at least alert the programmer before allowing a rename to or from the magic name. Isaac Morland CSCF Web Guru DC 2554C, x36650 WWW Software Specialist
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4