News for hackers. Stuff that matters.
Re:Why Is the Migration to Python 3 Taking So Long? by progval on Thursday November 14, 2019 @05:14PM (#21540049)
> The nuisance of having to add self as parameter to every class method

This was done intentionnaly, because "Explicit is better than implicit". It also has some uses, eg. if you want to do this:

    class Foo:
        def inject_bar(self):
            def new_bar(self2):
                pass # you can refer to both 'self' and 'self2 here
            other_object.bar = new_bar
It's rare, but it has its uses.
Re:Why Is the Migration to Python 3 Taking So Long? by tomp on Thursday November 14, 2019 @05:30PM (#21540202)
> "Explicit is better than implicit"

Too bad Python breaks this "commandment" pretty much whenever it wants to.

Re:Why Is the Migration to Python 3 Taking So Long? by progval on Thursday November 14, 2019 @05:46PM (#21540337)
Yeah, The Zen of Python has commandments to justify pretty much anything. eg. "Simple is better than complex." or "Readability counts." when you want something to be implicit
Re:Why Is the Migration to Python 3 Taking So Long? by rectangletangle on Friday November 15, 2019 @12:16AM (#21542379)
"Practicality beats purity"