RETURN TO BLOG
No More Primitives - What Python and Java Get Wrong
Many languages distinguish between primitives on the stack and objects on the heap. Others only have objects, and thus require primitives to aways be boxed. It turns out you can get the best of both worlds.
Composable, Programmatic Animations for Games
This post describes a method for creating animations in games programmatically, while still retaining composability.
Unifying Dynamic Type Tests and Type Refinement
Some typecheckers understand dynamic type tests, thus avoiding downcasting.
Automatically Promoting Constructor Parameters to Fields
When writing object-oriented code, you frequently want a constructor that takes in values and assigns them to object fields. Some languages reduce the repetition required for this.