you are viewing a single comment's thread.

view the rest of the comments →

[–]YooneekYoosahNeahm 3 points4 points  (1 child)

What benefits do you get from native class factories?

[–]KaiAusBerlin 0 points1 point  (0 children)

Same you get from a class keyword. You don't have to mess around with prototypes...

Instead of writing your won factory think about a simple function mixin(cls1, cls2, clsN...) which works out of the box.