Re:Self Hell in Python
by anindyabd on Sunday January 04, 2015 @12:14PM
(#8835030)
Did not know this. Thought self was equivalent to this in Java. Mind = blown.
[ Parent
| on HN ]
Re:Self Hell in Python
by raverbashing on Sunday January 04, 2015 @12:53PM
(#8835160)
See, you pass it as a parameter
So it can be called anything you want
BUT DON'T DO IT! Because you'll break the convention and anyone who maintains your code after that will hate you.