ezyang’s blog

the arc of software bends towards understanding

Typeclasses matter

Typeclasses matter. In fact, I'll go as far to say that they have the capacity to replace what is traditional object-oriented programming. To understand why, however, we have to review the traditionally recognized benefits of object-oriented programming: Organization. For C-inspired languages that don't have a module system, this is so incredibly important; without a discipline […]

  • January 15, 2010