Category: Nerdy

  • Exploring JavaScript prototypes via TypeScript’s class pattern

    Note: All the diagrams below were created using Gliffy, a fantastic web-based diagram editor. The latest version has been rebuilt using HTML and JS instead of Flash, and it really is a joy to use. In this post, I’m going to take a close look at how JavaScript’s prototypal inheritance works by analysing how Microsoft’s TypeScript language uses […]

  • Game of Thrones: The Rains of Castamere

    Warning! Here be spoilers for the Game of Thrones episode “The Rains of Castamere”, and also for the books. There is an existential bleakness and cynicism at the heart of George Martin’s Song of Ice and Fire books that often makes them hard to take. As a reader, you can fall in love with them, […]

  • Game of Thrones: The Bear and the Maiden Fair

    It’s always fascinating to watch an episode of Game of Thrones written by George R R Martin. The show has departed from the source novels in a lot of ways, mostly small, occasionally large. Often it’s a matter of necessity, as a completely faithful adaptation would require ten times the episode count and a thousand […]