MARCH
12
2013

Playing with Scala and OpenGL

In retrospective: I used scala’s call-by-name functionality to simplify some imperative-style OpenGL code, and used scala’s awesome type system to build some highly-composable building blocks for Vertex data classes.

more

JANUARY
19
2013

Replacing PubSub

Event handling has turned over a new leaf. Instead of “subscribing” to “publishers”, you create a “stream” of events. When the event stream is implemented like a collection, it becomes a powerful abstraction that lets you create complicated event handling logic with relatively little effort.

more

DECEMBER
06
2012

Scala Futures

Scala’s Futures bring a functional approach to asynchronous programming and let you escape callback hell!

more