Scala Compiler Tuning

As my Scala projects go on, I want to share some compiler configuration and tricks with you, which I use on many projects. Some tiny configuration options can greatly improve your code and warn you about things, you would probably never discover. Basically, you can pass compiler options to scalac using console arguments: $ scalac -deprecation -unchecked -Xlint something.scala If you are using SBT, it’s even simpler… You can just use the following configurations snippet in your build. [Read More]