Flexibility is one of the features that attracted Brian McKenna to Scala, but he now believes that too much flexibility can be a bad thing, “after seeing what a mess you can make with flexibility in Scala, I believe we should limit it."
He has developed a tool called WartRemover. It provides a method of writing linting rules (a pattern match over the Scala AST which can trigger errors or warnings) which can be executed as compiler plugins, command line tools, or even as macros. This talk demonstrates custom linting rules and shows the various ways that they can be executed.
Follow along as we post each of the talks from this year's Northeast Scala Symposium.