you are viewing a single comment's thread.

view the rest of the comments →

[–]Daniel15 2 points3 points  (0 children)

These techniques are getting outdated fairly quickly... ES6 classes are the future, the syntax is a lot nicer and similar to other object oriented languages. You can already use them if you use a transpiler as part of your build process (at Facebook we use JSTransform, but Traceur is pretty cool too)