This site runs best with JavaScript enabled.
Looking for something specific? Search for a blogpost here.

Semicolons in JavaScript: A preference

Update: Now that I use prettier , it’s really a matter of what you like to look at (because prettier means that I don’t have to type them at all). I prefer the way code looks without semicolons so… :) I just use eslint-config-prettier and let prettier deal with it. Semicolons in JavaScript has…

Read →

Why users care about how you write code

Back in October of 2011 Ryan Dahl wrote a blogpost entitled " I hate almost all software " in which he asserts: The only thing that matters in software is the experience of the user. I totally agree with this statement, but I believe that it has broader implications than Ryan's suggesting. At a…

Read →

Please, don't commit commented out code

I often find stuff like this in codebases I review: This function should look like this: You might be thinking: "But Kent! What if that 'good reason' is no longer true, and we need to do it the old way again later?" The answer, my dear reader, is git diff : There's the precious code. We can grab…

Read →

Open Source Stamina

This is likely the reason that TJ Holowaychuk gave his Node.js projects to other maintainers (read Farewell Node.js ). This is also probably why Vojta Jína handed Karma off to Mark Trostler and Friedel Ziegelmayer . Motivation Something must motivate us to action for everything we do. When…

Read →

Why I don't commit generated files to master

This is an age old question and debate . There are pros and cons to both sides of the argument. In this post, I’ll explain my experience committing generated (built) files to master for my libraries and why/how I don’t do that anymore. First, generated files? In the context of a library, the…

Read →

How to Write a JavaScript Library

There's a lot of steps to creating and maintaining an open source library. It's like becoming a parent. Open source libraries can be quite demanding, impatient, and time consuming. Some libraries are small enough that they're pretty easy to create and don't need to be maintained when they're "done…

Read →

First Timers Only

I've started doing something recently that's been really rewarding. I'm the maintainer of angular-formly a fairly popular library for forms with AngularJS . I've committed a lot of code and the library has 33 contributors right now. For at least five of these contributors, it was their first…

Read →