How Twitter built Scala tools to scale to millions of lines of code