In my previous two posts on Scala Compiler options, we saw a number that can improve your experience developing Scala. In this post I want to focus on one option in particular: -Xlint.If you thought the other options made your life better, this one will improve it by leaps and bounds.
Scala offers a number of advanced language features that are disabled by default. If you try to use any of them, the compiler will generate a warning informing you of their usage. There are a number of reasons that you might want to enable features (or keep them disabled). In this post, we will explore what each language feature is and under which circumstances you might want to enable them. (For a discussion of basic Scala Compiler options that we find useful at Threat Stack, see Part 1 of this series.)