Tag Archives: scala

Why dynamic languages are not cool

Some people love dynamic languages. I don’t. This last week, I found one more reason for it. I might be a bit biased because I love Scala, but lets go for it. A project I started maintaining a few weeks … Continue reading

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

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

scaladores first meeting

Right to the point: we are starting a Scala user group down  here in São Paulo, called Scaladores. The idea is to for people interested in the Scala language to meet in person and talk about it. If you are … Continue reading

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

Acidental scala upgrade with sbaz

And then I was playing around with the scala tools that come in the installation’s bin folder. There is something there called sbaz, and this name sounds so different that I just HAD to play with it to find out … Continue reading

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

Scala’s Parallel Collections are useful even in the most simple cases

One of the main features that Scala version 2.9.x brought was Parallel Collections. If you think about it quickly, you might consider using such a feature only in complex, process intensive scenarios. Although those are certainly the main places where … Continue reading

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

Scala Problem Number Six

From the Scala 99 Problems, lets face the problem number six: P06 (*) Find out whether a list is a palindrome. Example: scala> isPalindrome(List(1, 2, 3, 2, 1)) res0: Boolean = true The first thing I had to do was … Continue reading

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

The Anagram Puzzle in Scala

A few weeks ago, we had a coding dojo in Adaptworks. There, we decided to use Scala as the coding language, and the problem to be solved was the Anagram puzzle. Unfortunately we didn’t manage to solve the problem during … Continue reading

Posted in scala | Tagged , , , , , , , | 4 Comments