Read JavaScript and TypeScript lessons from production

Learning from tutorials is great! You follow some steps, learn a smol lesson, and feel like you got this. Then you go into an interview, get a question from the boss, or encounter a new situation and o-oh.

Shit, how does this work again? ๐Ÿ˜…

That's the problem with tutorials. They're not how the world works. Real software is a mess. A best-effort pile of duct tape and chewing gum. You need deep understanding, not recipes.

I took a bet on JavaScript in 2005 when it was known as DHTML. It's been my favorite language ever since. These essays are the good stuff you can't learn from a tutorial.

Leave your email and get the JavaScript Essays series - a series of curated essays and experiments on modern JavaScript. Lessons and insights learned from practice building production software.

Latest JavaScript articles from Swizec

September 2011

So how many readers _actually_ read a blog post?

August 2011

I learned two things today 11.8.

May 2011

node-unshortener can unshort any url

April 2011

A cool JavaScript property you never noticed

A few years ago I was playing around with JavaScript trying to find the cleanest way to implement callbacks in functions. Primarily I wanted a readable way to make certain the last argument passed is a callback, withut having to rely on knowing how many arguments there are and so on. Instead I stumbled upon a pretty cool feature of how javascript handles function arguments.

September 2010

Hard work is a total waste of time

July 2009

jQuery imageless buttons a la Google get an update

June 2009

Slovenia php conference day2 (live blogging)

March 2009

Adobe AIR's javascript no eval or include is moronic