Live data from Hacker News

Viewing profile — MoTTs_

MoTTs_

HN member
Joined
Wed, Nov 09, 2016, 5:41 AM UTC
HN karma
3
Public activity
5 items

About MoTTs_

No profile information was provided.

Recent public activity

  1. comment
    Comment #18639834

    The issue we complain about in JavaScript is one like this: class C { handleEvent() {} someMethod() { onEvent(this.handleEvent); // bad; "this" lost onEvent(this.handleEvent.bind(t…

  2. comment
    Comment #18615961

    In C++ you have to use bind too.

  3. comment
    Comment #16818578

    On the contrary, classes and inheritance in both Python and JavaScript behave basically the same. In Python, classes are objects (a building, not a blueprint), and inheritance is d…

  4. comment
    Comment #14920548

    > One of the last languages supporting prototype-based inheritance... Actually, all this time, both Python and Ruby use what we would call prototype-based inheritance. https://www.…

  5. comment
    Comment #14920279

    Beware referencing or learning from Eric Elliott. https://www.reddit.com/r/javascript/comments/6q2lk0/why_comp... https://www.reddit.com/r/javascript/comments/5c5lkq/what_eri... ht…