Tag Archives: scala

Scala 99 Problems on github

A long time ago I started playing with the scala 99 problems. The project is going very slow, but it is moving. So I decided to share the code in a more open and easier way: github. I have solutions … Continue reading

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

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

The Developers Conference 2011

From July 6 to 10 happened The Developers Conference 2011 down here in São Paulo. The other editions were really good and, better, this one topped all of them. It was a really fun and productive event. I had the … Continue reading

Posted in java | Tagged , , , , , , , , | 3 Comments

Scala Problem Number Five

From the Scala 99 Problems, the problem number five goes like this: P05 (*) Reverse a list. Example: scala> reverse(List(1, 1, 2, 3, 5, 8)) res0: List[Int] = List(8, 5, 3, 2, 1, 1) Starting with the obvious solution, using … Continue reading

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