JavaScript

Understanding Lodash Memoize

I work on a team that has some really great developers. A few days ago in a PR review, I came across: const formatNumberFull = memoize(number => numeral(number).format("0,0")); Ummm... what? The Lodash docs gave me a little better understanding of what memoize does, but I didn't…

Learning "Eloquent JavaScript"

I've been "developing" in JavaScript for nearly 10 years. To be honest, I've mainly been using libraries and frameworks like jQuery, prototype(gasp!), mooTools, Ext JS, and AngularJS. There's been a lot of criticism of frameworks recently. Some feel that frameworks are simply too costly in terms of performance. However…

Conditional Build Tasks with gulp-if

I'm a bit of a Gulp novice. However, I've found it quite easy to create a smooth build process for my apps. Until today, I was using a process that would call a specific task to then run a series of other tasks. Bad Build Process For example, I had…