Articles by matthandler

Cheat Codes for Contravariance and Covariance

Cheat Codes for Contravariance and Covariance

I used to have nightmares about understanding variance. I thought things would get better when someone showed me this explanation... (image from rice.edu) ...but afterwards the nightmares got worse, since now they included clowns and burning pandas. I stayed up...

Managing Data Classes With Ids

Managing Data Classes With Ids

At Originate, we have worked on a number of medium- to large-scale Scala projects. One problem we continuously find ourselves tackling is how to represent the data in our system in a way that is compatible with the idea that sometimes that data comes from the client,...

Code Review Techniques at Originate

Code Review Techniques at Originate

The following document is our internal code review guide we share with all engineers who work on our projects, which includes both our employees and the engineers we work with from our partner companies. The original document can be found on GitHub here. We have been...

Answers To Common Questions In Cocoa Development

Answers To Common Questions In Cocoa Development

I recently created my first Cocoa app, and it was a real pain. I wanted to add a bunch of common features I see in every app, and hunting down the right answers on stack overflow proved to be very difficult. The following is a list of answers to...