Equality Comparison In JavaScript

Let’s talk about something not fun: equality comparison in JavaScript. In most languages, operators for checking equality and inequality between two values exist. They usually are == and !=, respectively. JavaScript has these operators as well, but they come with a not fun surprise. In addition to performing comparison, these operators perform type coercion in order to match the types if they are different. The tricky thing is that sometimes JavaScript coerces types to values that you wouldn’t expect.

Javascript - call() and apply()

When I first encountered the call() and apply() functions in Javascript, I had difficulty wrapping my head around how they worked. I also wasn’t really sure what practical purpose they served. I’m going to explain how these two functions work and what they are used for.

A Month With Python

Recently, I attended an exceptional philly.rb meetup where two talks were presented. One was on civic hacking and one was on language exploration. The talk on language exploration, titled “Make up your own ‘Hello, world!’”, inspired me to take a short-to-medium-term look into a new language.

Game Programming C# With XNA

Every year for the past few years, I’ve been going to PAX East, an annual video game convention in Boston. Every time, I get inspired to make video games, but never actually act on that inspiration. I don’t know if it’s due to A) a lack of original ideas, B) poor artistic skill, C) laziness, or D) all of the above.