Scala keeps coming up as a name more and more frequently, so I thought I would check it out.
What interested me is that it is apparently good for multi-core processors, making threading easier. Since threading is I feel an upcoming challenge as the frequency of cpu cores freezes, and their number grows instead, this sounded interesting to me.
First impressions:
- - It is still young. Searching on Tiobe put scala somewhere around 30th to 50th place, which is pretty low
- + I like the operator overloading
- + It does all the ‘easy’ bits of erlang fp, Haskell fp, python fp, ie the maps, filters, immutable lists. All good fun. Writing a for loop is pretty easy
- - tooling support, ie for eclipse seems a bit hit and miss at the moment. It didn’t really work for me, running Helios
- + it is relatively easy to mix java and scala code
- - … but the tooling support for doing so, in eclipse doesn’t seem to me to be really there yet
- - auto-completion in eclipse didn’t seem to work for method parameters, ie if I do ‘println(fo’ then ctrl-space it won’t offer me the foo variable name
I want to like scala, and I do like Scala so far. It seems to me difficult to justify its use in normal everyday projects at the moment. Specifically: the eclipse tooling seems to me a bit hit and miss to me at the moment. I may modify my point of view when I’ve played with scala for a bit longer than the 4 hours I’ve played with it so far
Decent scala tutorial: http://www.artima.com/scalazine/articles/steps.html