Viewing profile — MoTTs_
MoTTs_
HN member- Joined
- Wed, Nov 09, 2016, 5:41 AM UTC
- HN karma
- 3
- Public activity
- 5 items
- HN profile
- View on Hacker News ↗
About MoTTs_
No profile information was provided.
Recent public activity
-
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…
-
comment
Comment #18615961
In C++ you have to use bind too.
-
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…
-
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.…
-
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…