Avoid Not Enough
I’d been working with Java for more than ten years before I starting looking at Scala
properly. My first experience was a toe in the water. The team was naturally skeptical, so we decided to section off a part of the existing codebase to try Scala. We converted our tests to Scala and left mainline development in Java.
In hindsight, this was a terrible idea. By working only with test code, there wasn’t enough critical mass or momentum to improve. The kinds of problems we were solving in test code were pretty well understood and the existing testing frameworks (like JUnit) solved most of ...