Python Worst Practices
Marko Rauhamaa
marko at pacujo.net
Sat Feb 28 03:50:19 EST 2015
Ethan Furman <ethan at stoneleaf.us>:
> Sure, for the ones I use as built-ins. But I went through the color
> file for vim and took out the built-ins I use regularly as variables
> -- and 'id' was the first one to go.
Ah, yes. The id is with us from the beginning. The self seeks to gratify
the whims of the id while at least placating the demands of super.
But I think stamping out the id altogether is bound to fail and risk the
long-term soundness of the implementation.
Marko
More information about the Python-list
mailing list