2-3 May 2017, Oslo Norway
flatMap(Oslo) a functional programming conference with focus on Scala and the Java Virtual Machine
Looking for 2018?

Move fast and automatically refactor things

Presentation abstract

Move fast and automatically refactor things. That’s my dream at least, and I’ve been working hard to make it a reality. Scalafix is a new tool and library to create „rewrites” that refactor Scala code.

Rewrites are composed of „patches”, which is a small algebra of operations that can be assembled to run as a single refactoring step. The mission of scalafix is to help automate the migration between Scala compiler and library versions.

In this talk, you will learn how scalafix is implemented on top of scala.meta, a metaprogramming toolkit that makes it easy to manipulate Scala code as data. You’ll see that anyone can write custom migration scripts with scalafix. By the end of the talk, you may be inspired to refactor your company’s internal codebase.

Ólafur Páll Geirsson

Ólafur Páll Geirsson


Ólafur Páll is an engineer at the Scala Center working on devtools. He is the author of scalafmt and a scala.meta maintainer. When Ólafur is not coding, he likes to bike up mountain Fløien in Bergen, Norway, where he lives half of the time.