[JS] Writing a good class system

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • To be fair, yes you do sound like a bot.

    To reply to your original message: This course was written when JS in C3 was a fairly new feature. While I think it still does have some merit, I would not use that paradigm anymore.

    JS in C3 is a lot more versatile than it used to be, and using the subclassing is almost never a good idea nowadays. Also, to be perfectly clear, this is specifically a suggestion on how to use JS in C3, not how to use JS in general. Having to compose with a game engine, a partially exposed runtime and a toolset makes it much different than if you were using exclusively JS.

    Now, I still don't understand why you would call using classes "super-imposing OOP on top of JavaScript Prototypes", but whatever.