News for hackers. Stuff that matters.
Re:Why Is the Migration to Python 3 Taking So Long? by coldtea on Thursday November 14, 2019 @02:43PM (#21538648)
>Having to reference self makes it more clear where data is coming from and makes navigating an unfamiliar code base much easier.

I don't understand this. Aside from people seeing an OOP for the first time in their life, are they getting confused about where "this" comes from?

How would an implicit "self" a la "this" make it any less understandable where the data come from?

How is passing self making "navigating an unfamiliar code base much easier"? Aside from total newbs who see an OO codebase with an implicit instance variable for the first time?

Re:Why Is the Migration to Python 3 Taking So Long? by fireflash38 on Thursday November 14, 2019 @02:57PM (#21538781)
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.
Re:Why Is the Migration to Python 3 Taking So Long? by coldtea on Thursday November 14, 2019 @03:49PM (#21539241)
A, alright then. I'd go with making this mandatory in that case.