Y
Hacker News
new
|
ask
|
show
|
jobs
by
jstimpfle
763 days ago
No way to prevent "this", says C++ programmer.
1 comments
from-nibly
763 days ago
Just use Python it uses 'self'
link
jstimpfle
763 days ago
In 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.
link