General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Indently
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "What exactly is 'self' in Python? [Easy explanation]" video.
I love how Python is slowly turning into a more verbose C++. I'm kind of amazed that still no one has written a compiler to generate native binaries because that's the next step.
1
@charliecandimaunten1635 I suppose I should've been more clear and stated "good binaries". Cython generates equivalent code, but not particularly well optimized. I'd never heard of Nuitka before, so I'll have to do some investigation. As for more verbose, @staticmethod is definitely more verbose than simply using static, and there's quite a few other decorators like that. Also, C++ makes the this pointer implicit. Sure, you can rename it, if you feel so inclined, but by default you don't have to do anything and you've got this.
1