


Someone posted this on the Scala mailing list, and I thought it was a pretty cool use of the Scala type system to implement the builder pattern. I'm not sure if its totally useful or not, but I probably wouldn't have imagined this particular use.http://blog.rafaelferreira.net/2008/07/typ...
With regards to the fibonacci function as discussed here, can I characterized memoization as an optimization to overcome the JVM's lack of support for Tail call optimization ? I'm a bit hazy on both concepts. Perhaps someone can elaborate.ThanksPho...
Anybody playing with Scala? It seems interesting. It generates code that runs on a Java JVM, but is a more pure OO language, and leaves out the left over cruft from C, everything is an object.I thought that generics were ugly and inconsistant, and closures seem to be worse.I remember when Java w...
I must admit there are still some pretty basic things about Scala that I don't understand. One of the most basic is the mixin behavior. I guess I originally thought the mixin was only applicable for methods not defined in the class that was being mixed in, obviously that's wrong.code:tra...
I just register to scala-user milling list and read a little tutorial on it. Will Scala be a language used more and more in commercial applications? I mean I can write it to my resume and look for a good job.Thanks....
Any one had to choose between these 2 JVM based scripting languages for projects?...
I was considering this post about the expressiveness of the Ruby Date/Time functions, and was wondering if the same type of syntax could be duplicated in Scala. After about 20 minutes hacking around, here's what I came up with. I'm not sure I'm completely in love with the abstraction...
I have been reading through the tutorials and finally downloaded Scala last night. It looks pretty cool to me. Most of the functional stuff of a language like Haskell or OCaml, tail call elimination, higher order functions, semantics for easily encoding algebraic data types. The syntax isn't...
