HNHacker News
TopNewBestAskShowJobs

damienklinnert

8 karma · joined July 14, 2012

submissionscomments
damienklinnert··on The one and only way to create JS objects
Those issues are already fixed thanks to community work.
damienklinnert··on The one and only way to create JS objects
Many people tried different ways to create objects. All big frameworks come with their own methods to do this. Some people use closures to create inheritance.

I just tried to define which way seems to be the best one this days to follow. I don't like to use all that frameworks for object systems. However, the most important thing is the new 'class' feature in ECMAScript6.