I Don’t Hate Arrow Functions
TL;DRArrow functions are fine for certain usages, but they have so many variations that they need to be carefully controlled to not break down the readability of the code.While arrow functions clearly have a ubiquitous community consensus (though not unanimous support!), it turns out there's a...
Functional Programming (FP) By Any Other Name…
Don't worry, this is not YAMA (yet another monad article)! Instead, I want to talk about a library I've recently released that offers a helpful twist on typical functional programming ("FP") operations (like
compose(..), etc). Before we jump in: if you're like me and have tried...
ES6: Features By Testing
TL;DR Use the FeatureTests.io service to perform feature tests of ES6+ features. The results of these tests are cached by default in the user's browser, and shared across all sites the user visits that use this service. In the bootstrapper for your site/app, check the results of...
Fixing Coercion, Not The Symptoms
TL;DR Your complaints of
x == ybehaviors being weird, buggy, or downright broken have all blamed
==as the culprit. No, it's really not.
==is pretty helpful, actually. The problems you're having are not with the
==operator itself, but with the underlying values and how...
For and against `let`
letenables a new form of scoping not previously accessible generally to JS developers: block scoping. Function Scope Let's briefly review the basics...
stringvalues have a
replace(..)method available to them. This method allows you to pass a regular expression (or a
bwould, obviously, be:
concat(..)The most common approach is: As you can see...
Getting Concurrent With ES6 Generators
If you've read and digested part 1, part 2, and part 3 of this blog post series, you're probably feeling pretty confident with ES6 generators at this point. Hopefully you're inspired to really push the envelope and see what you can do with...
Kyle Simpson is a Human-Centric Technologist. His mission is to show the world that the culture of empathy and relational information exchange are keys to unlocking the full potential of every human in the workplace. JS and open web technologies are among Kyle's favorite tools to augment human endeavors. Kyle has published 11+ books on JS, taught thousands of developers from teams around the world, and his training videos have been watched over 800,000 hours. He's always fighting for the people behind the pixels.