Apr 27
Scala is pretty damn neat. I’ve only just started learning the language (an earlier attempt had to be sidelined because “real” work interfered), but I’m back to it now. Continue reading »
Scala is pretty damn neat. I’ve only just started learning the language (an earlier attempt had to be sidelined because “real” work interfered), but I’m back to it now. Continue reading »
One of the things I have in my Scala startup file is the following.
def show[T](implicit thetype:scala.reflect.Manifest[T]) { thetype.erasure.getMethods() foreach println } def help(x:AnyRef) { x.getClass().getMethods() foreach println }
These silly little functions are useful – at least, to me. Now when I can’t remember the name of a method I can type something like the following at the Scala prompt. Continue reading »
As usual, I’m learning Yet Another Programming Language. Every time I do I see some new ideas and experience new frustrations. This time the language is Scala http://www.scala-lang.org/. There is a lot to like about it.