Adam J.Stanton Writes mostly about software and other things that interest me.

A tale of two object models: Javascript and Ruby (Part 3)

This is part three of my series of posts that explore the Javascript and Ruby object models. The goal of this series is to introduce the fundamental concepts of both languages by demonstrating their similarities and differences. If yo...

What is 'this' in Javascript?

Lately I’ve been writing a series of posts on the core differences and similarities between the Javascript and Ruby object models. The idea is to explore the core fundamentals of the object models, since I’m a believer in really cemen...

A tale of two object models: Javascript and Ruby (Part 2)

This is a continuation of posts that explore the differences and similarities of the Javascript and Ruby object models. My first post introduced the core of both object models as a repository of references to other objects. In this po...

A tale of two object models: Javascript and Ruby (Part 1)

This past year I’ve been developing a web application with Ruby on Rails and javascript, and although javascript is not a new language for me, I’ve had an amazing time learning Ruby and its powerful metaprogramming capabilities. As I ...