Voxxed Days Berlin has ended
Back To Schedule
Friday, January 29 • 14:20 - 15:10
Event Sourcing & Functional Programming - a pair made in heaven

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

TL;DR: Intro to core concepts of FP. Intro to core concepts of ES. Tons of fun with Scala code, while transforming OO-style ES application, to a purely FP one.

While reading blogs or attending conferences, you might have heard about Event Sourcing. But didn't you get this feeling, that while there is a lot of theory out there, it is really hard to see a hands-on example? And even if you find one, it’s always focusing on Object Oriented approach?
Greg Young once said "When we talk about Event Sourcing, current state is a left-fold of previous behaviours. Nothing new to Functional Programmers". Thus isn’t this natural to see emerging code examples of event sources systems written written functional way.

In this talk I will try to answer what Functional Programming really means (we will have to travel back in time to early 90s, 80s or even 30s!). Then I will introduce some more advanced concepts (like State monad). Then I will quickly introduce Event Sourcing: it’s origins, strengths and weaknesses.

Armoured with that knowledge we will try to transform sample ES application (OO-style, tightly coupled with framework) to frameworkless, FP-style solution.
Talk is targeted for beginner and intermediate audience. Examples are in Scala.

avatar for Pawel Szulc

Pawel Szulc

Pawel Szulc is primarily a programmer. Always was and always will be. Experienced professionally in JVM ecosystem, currently having tons of fun with Scala, Clojure and Haskell. By day working on (not that) BigData problems with Akka Stream & Apache Spark, by night hacking whatever... Read More →

Friday January 29, 2016 14:20 - 15:10 CET
Kosmos - Room 02