Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Hope Cruz
2,257 PointsJavascript object course is out of date. When while it be updated to use es6 classes?
I realized the javascript object oriented course is using old syntax. When will this course be updated to use es6 syntax?
2 Answers
Colin Marshall
32,861 PointsJust because you can write ES6 now using a transpiler like Babel does not mean that ES5 is out of date. Babel just compiles ES6 code to ES5 so it can run in current browsers. Browser support for ES6 is definitely spotty at this point in time.
That being said, there is an upcoming course on the Treehouse JavaScript Content Roadmap titled ECMAScript 6, so there is something in the works to cover ES6 here.
akak
29,446 PointsI'm far from being an expert on JS but after researching a lot about ES6 some time ago I wouldn't say that it's using OLD syntax. It's using current syntax. ES6 is not a standard yet. Look here: https://kangax.github.io/compat-table/es6/. A lot of reds, some even for the newest browsers. Right now if you want to use ES6 the best way is to use a compiler that changes it to ES5 for browser compatibility. Plus you need to know how to live without ES6 classes if you get your hands on a code written in ES5. Which I guess is the 90% of the code of the web if not more. I agree that a workshop about ES6 would be cool though :)