tag : ES6

Getting Back Into JavaScript Writing

I’m back! Did you miss me? I missed you guys. Sadly, though I’ve gotten back into writing about JavaScript, I haven’t been doing it on this blog. But I have written three posts for other blogs and they’ve all gone live this month. I’ve also got an announcement to make at the end.

Simplifying the ES6 Workflow With JSPM

For a while now, people all around the JavaScript community have been declaring that it is now possible to use ES6 to produce JavaScript applications. Aside from the fact that browsers are implementing more and more of the spec, there are several great transpilers that will convert you ES6 code into ES5 code, such as Traceur and Babel (aka 6to5 which recently changed its name). Beyond that, there are more and more tools coming out to make the workflow simpler and more robust. Today is a great day for ES6!

Why Aren't You Living in Harmony With ES6 Now?

When I first heard about the next version of JavaScript - known as ECMAScript 6 (ES6 for short) or JavaScript Harmony - I got really excited about all of the new features that we’d be getting to simplify and improve our lives as JavaScript developers… until I thought about it for 5 more seconds and realized that my kids would probably all be grown and moved out before I didn’t need to support any browsers that don’t support ES6, so I may never actually get to use it. I’m discovering that ES6 might be more usable right now than I thought it would be.

JavaScript Prototypal Inheritance and What ES6 Classes Have to Say About It

Many people come to JavaScript from other object-oriented programming languages such as Java or C++ and are confused as heck. “Where are the classes?” Well JavaScript doesn’t have classes. Rather, JavaScript uses prototypal inheritance to create something similar to classes. Though it is somewhat similar, it’s still quite different and takes a lot of work to understand. That’s the purpose of ES6 Classes.