3 ms·
No way to prevent "this", says C++ programmer.
by jstimpfle 2y ago
No way to prevent "this", says C++ programmer.
- from-nibly 2y agoJust use Python it uses 'self'
- jstimpfle 2y agoIn Python, you can easily just not type "self" (or whatever you named the 1st arg). In C++, you can not not type "this", at least if you don't, "this" will be looked up anyway.