Tag Archives: match

Matching a combination of class and trait in Scala

While doing some development with Scala I discovered that it is possible to match combinations of a class and traits. It might seem obvious if you already know it, but I didn’t. What happened is that I needed something like … Continue reading

Posted in scala | Tagged , , , , , , , | Leave a comment

Scala Pattern Matching: the reason to fall in love with Scala

Scala has a lot of interesting features and, among them, one of the most interesting ones is Pattern Matching. If you still need a reason to try Scala this is the one. Actually, I might be exaggerating a little bit, … Continue reading

Posted in scala | Tagged , , , , , | 2 Comments