Any style guide written in English is either so brief that it’s ambiguous, or so long that no one reads it. Scalafmt does its best to relieve your attention from such trivia and let you focus instead on writing correct, maintainable code. Mark the end of arguments about formatting!

In this talk, we’ll see how scalafmt works and how it’s different from its sibling Scalariform. We will also dig into how Scalafmt is implemented with scala.meta, a new metaprogramming library that leverages both the functional and OO aspects of Scala. It turns out that scala.meta's syntactic API and scalafmt are a match made in heaven.

Expect a lot of funky looking code. Don't forget to bring your strongest opinions on whitespace and indentation, it may be your last chance to express them.

Slides: geirsson.com/assets/flatmap/

# vimeo.com/165929294 Uploaded 2,212 Plays 0 Comments

flatMap(Oslo) 2016

Arktekk AS PRO

flatMap(Oslo) is a functional programming conference with focus on Scala and the Java Virtual Machine

Browse This Channel

Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.