3 ms·
I believe the original commenter was more referring to the lack of 'this' usage in Java. So instead of having: this.x = y People tend to do: x = y
by fireflash38 7y ago
I believe the original commenter was more referring to the lack of 'this' usage in Java.
So instead of having:
this.x = y
People tend to do:
x = y
Which isn't always the most clear that it's referencing an instance variable rather than a scoped variable, especially if you see it midway through a method.
- coldtea 7y agoA, alright then. I'd go with making this mandatory in that case.