Monthly Archives: August 2011

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