Jani Hartikainen explains how to deal with promises in unit tests using Mocha and Chai as the base and showing promise-related patterns that occur in tests. (more…)
Read more »
I didn't much care for vanilla JavaScript prior to ES6. Through all of the 2000s, I chased different approaches to avoid writing too much of it. First there was RJS (Ruby-to-JavaScript). Then there was CoffeeScript. Both transpiling approaches that turned... (more…)
Read more »
Some time ago, I got inspired to build an app for solving specific kinds of math problems. I discovered I had to parse the expression into… (more…)
Read more »
I have a weird way of describing software. And you’ll either know what I mean, or you won’t. It’s sort of strange, but software interfaces feel like they have a weight. When I use an interface, it can feel heavy, or it can feel light. Neither is better th... (more…)
Read more »
Types are bound to improve your JavaScript, if you’re willing to spend some time looking at their advantages.
Read more »