-
Notifications
You must be signed in to change notification settings - Fork 0
hamnis
#Erlend Hamnaberg
Erlend is a Consultant working for Arktekk in Oslo, Norway.
stack day:
- Immmutable JSON
- Siren.java
- diverse command line tools
The arrival of Java 8 has made it possible to make better APIs. I have made a new JSON library for Java 8, which encodes the RFC using functional programming style. In this talk I will walk you through how I did this, using concepts as Algebraic Data Types (ADTs) and other useful functional programming patterns like Isomorphisms and Functor and CoFunctors. I will describe a way of using fold as the basic building block for expressing your api, and as the most powerful tool in the ADT. Lastly I will explain how we can use these techniques to do decoding and encoding of JSON without using reflection in Java 8.
Home :: Agenda :: Speakers :: Code of Conduct :: About