Ratchet Tests with ScalaTest

Ever found more broken things in a project than you possible could fix in one go? I’m exactly in that situation. We have a test which checks for certain dependencies in our project. The problem: We discovered that the test was broken and didn’t report all disallowed dependencies. We do know how to fix it, [...]

Posted in: Softwaredevelopment by Jens Schauder 4 Comments , ,

Usage Patterns of Scala Traits

One of the many cool features in Scala are traits. traits are like a mixture of abstract classes and interfaces: You can ‘implement’ as many of them as you want just as with interfaces, but they can also contain implementation, which makes them similar to abstract classes. You also can’t instantiate a trait on its [...]

Posted in: Softwaredevelopment by Jens Schauder No Comments , ,

Mixins, Inheritance and Delegation

A week ago I started learning Scala. One of the features I found pretty interesting are mixins and traits. That was just the point of time, when I read this little tweet of GeekyL: “i am still not sure if mixins are super cool or dark magic.” Of course I was instantly reminded of the [...]