Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should super then also be a method argument?


Honestly, I think it would have made some amount of sense to make super a method defined on the base object so that

    def __init__(self, x, y):
        self.super(x, y)
would be the convention. There may be some infra issue with this (and in general, `super` has to be kind of magical no matter how you handle it). But yes, in general I can vibe with "super is too implicit".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: