Saturday, January 26, 2008

Scala Hopes And Fears

Main things I want out of Scala:

1. Closures.
2. No checked exceptions.

Main things that scare about Scala:

1. Bloat. One safe-looking line can generate a 30K class file. Helps explain how their own jars are so big.
2. Slow compiler. That they need an 'fsc' ('Fast Scala Compiler') sort of scares me.
3. Creative operator overloading (':::', '/:', '|-', binary '!', and so on since the possibilities are mostly endless).


  1. I forgot to add the fear of generics that are even more complicated than Java's.

  2. I find Scala's generics a lot simpler to use than Java's while still fealing more powerful.