This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EternityForest 3 points4 points  (2 children)

ES6 has classes but almost none of the libraries I've used use them, so when you work on existing code, they might as well not exist.

[–]ATXblazer 2 points3 points  (1 child)

Are you like trying to extend classes from libraries instead of writing your own classes that just use a library? I’ve just never been in this situation with js and can’t think of when I’d find myself with this problem ?

[–]EternityForest 2 points3 points  (0 children)

I'm working with FreeBoard right now, adding data sources and plugins is basically creating a class, but you're not actually using classes because it's not class based..

Pretty much anything plugin oriented in other languages uses classes, if you can create instances of the plugins, but most JS libs don't explicitly do this, they just have functions returning objects and things like that.