Do you want mixin syntax in JS, and if so, which semantics? In the prototype chain means super works.
-
-
In JS there is a bit different model of OOP than in, for example, Java where it can be useful to have methods which apply only to >
-
> the data of certain class. In JS there are no private and public properties. So I think it’s better to create object with functions >
-
> similar to Math object and leverage functional paradigm.
-
Both private and public fields are almost finalized for a future version of JS :)
-
Almost :( but they are at least at the moment a foreign element :) and I am not sure if formalization is a good thing
End of conversation
New conversation -
-
-
I will, after
#bizgalzThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.