This repository contains sample code for my talk "FP and OOP: Best Friends Forever?". In this talk I perform a livecoded refactoring, introducing FP techniques and patterns in OO/procedural Kotlin code.
The end result of the refactoring is on the main branch. The
starting point of the refactoring can be obtained by checking out the
start tag:
git checkout startIf you'd like to review all the individual steps in this refactoring, please refer to the commit history of this repository. A separate commit has been made for every step in the refactoring.
The slides for the talk are available here.