Lars Lockefeer

The Design of Types

Wouter Swierstra, on how to let the compiler work for you:

This blog post aims to explain the way I think about enumerations (and a few other Swift types), which may differ from the intuitions developers coming from Objective-C have.

...

Years of Haskell programming have warped my brain in interesting ways. One important lesson I've learned is that designing the right types for your problem is a great way to help the compiler debug your program.

© 2020 Lars Lockefeer