Effective API design with Scala types

8th December 2014 in London at Business Design Centre

There are 54 other SkillsCasts available from Scala eXchange 2014

Please log in to watch this conference skillscast.

499388410 640

The type system is a fundamental tool for programming in Scala, but while we're used to thinking about functions and methods within an application it's rare for us to consider the types outside our programs. This talk will demonstrate how choosing a consistent and appropriate type to represent our API's responses can dramatically simplify its internal design and implementation.

The talk will focus on practical examples inspired by the lessons of building secure systems for the Guardian. We'll see how an example API implemented naïvely using traditional techniques can be improved when we embrace the type system and change the way we think about APIs.


Thanks to our sponsors

Effective API design with Scala types

Adam Fisher

Adam is a functional programming enthusiast and senior software developer at the Guardian.