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

JavaScript

Lee Hughes
Lee Hughes
8,380 Points

Javascript or dart?

I have plans to start learning Javascript next month but I've just found out about Dart https://www.dartlang.org/ which was developed by Google with the goal of replacing Javascript..

With this in mind would it be best to start learning Dart instead of Javascript?

3 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Dart is not supported in any web browser -- not even Google's own browser, Chrome, yet. You need to compile it into JavaScript for it to work in a browser. It's unclear if there's any interest from other browser vendors in Dart, so you may not be able to use Dart directly for web dev for a long time, if ever.

While Dart is an attempt to "fix" JavaScript, I don't think it's wise to invest your time in learning it at the expense of learning JavaScript. JavaScript is supported in all modern browsers, has a HUGE community of programmers, lots of books, tutorials, forums and blogs about it.

My advice is to learn JavaScript. The lessons you'll get from it can be applied immediately in your web development.

I recommend javascript. Javascript is becoming more demanding and a lot better than than other back end languages. For example, Nodejs.

Lee Hughes
Lee Hughes
8,380 Points

Awesome, thanks guys.