Airbnb has put together a stellar list of simple ways to make your JavaScript more maintainable and manageable. From comments and whitespace, to hoisting and type casting, this list covers nearly everything you should know when developing a JavaScript app.

The Backstory

Before I begin, I should mention that any views I express here are entirely my own. Now, I recently began working for the summer at Bloomberg L.P., where for the first few days we sit through a few talks and do a few labs that introduce us to the technologies we’ll be using throughout the summer. JavaScript was one of these languages, and I found that a quote on the first slide is all too correct:

“JavaScript is both the most popular and unpopular programming language.”

– Doug Crockford

From there, as you might imagine, the reactions from a predominantly C++ oriented audience towards JavaScript’s quirks were pretty amusing. There are some significant differences between these two languages, and if you’re not careful, they can get annoying quite quickly.



JavaScript might have it’s quirks, but it’s still a vastly powerful language, especially if used well. For any aspiring JavaScript developer, I would highly recommend looking over Airbnb’s JavaScript best practices. Even if you think you’ve got the language down, I’m confident you’ll uncover something useful.

The Birth and Death of JavaScript

While you’re here, check out this video for an incredibly humorous and satisfyingly accurate discussion of JavaScript, from birth to death.


Aaand while we’re posting humorous JavaScript videos, I’ve gotta throw this one into the mix.

Jake on the Web

If you cared enough to read that far, you should consider following me on GitHub or paying a visit to my homepage. If this post was about one of my open source projects, make sure to star it on GitHub! I love hearing what people think, so feel free to comment, open an issue, or send me an email.

Reach for Markdown, not LaTeX

Writing should be a pleasant experience. With the right tools, it can be. LaTeX is powerful but cumbersome to use. With Markdown, we can focus on our writing, and worry about the presentation later. Pandoc can take care of the presentation for us, so the only thing left to do is start. Continue reading

Vim and Haskell in 2016 on OS X

Published on August 03, 2016

Let’s Have a Chat about Encryption

Published on April 17, 2016