News for hackers. Stuff that matters.
Re:Ask HN: Resources for catching up on modern JavaScript fo... by MoTTs_ on Thursday April 12, 2018 @02:52AM (#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 done by delegation.

https://i.imgur.com/p9Kw815.png

If you've used Python classes and inheritance all this time and never felt confused, then people can also use JavaScript's classes and inheritance and never feel confused.

There are no comments on this comment yet.