Please log in to watch this conference skillscast.
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.
YOU MAY ALSO LIKE: