This post originated from an RSS feed registered with Java Buzz
by Thomas Woelfle.
Original Post: A weekend with Scala
Feed Title: Woelfles Welt
Feed URL: http://woelfle.blogspot.com/feeds/posts/default
Feed Description: A Developers Diary
I've alwasy been thinking that a good software developer and programmer should try to learn one or two new programming languages every year. Not to be able to write production quality code in this languages but to get a feeling of upcoming features and trends in programming languages. Two languages I am currently most interested in are Scala and Erlang. Last weekend I have taken a tour through Scala. And wow, I have to say that I'm actually fallen in love with this smart language. I preferred functional languages since my days at university. But in daily business most of the code I produce has to be written in Java. Well Java is a nice programming language but it misses some usefull concepts known from functional languages like Haskell. Upon the things I am missing most in Java are:
Functions as first level constructs and higher order functions. I have missed this since my first "Hello World" program in Java. Object orientation is a good concept but NOT EVERYTHING IS AN INSTANCE OF A CLASS
Lazy evaluation
Pattern matching and guards
And now I got in touch with Scala. Built on top of the JVM it provides all of the language features I've been missing in Java. And even better. Because of its integration with the JVM one can make use of all of the Java libraries out there. From my point of view this language has really the potential to become a standard language in industry. Who needs Java 7 when there is Scala!