|
Re: Is Scala really more complicated than Java?
|
Posted: Oct 2, 2009 1:25 PM
|
|
Ayman,
Certainly, you're right that my intent wasn't to contradict your point. And if the last decades have taught us anything about software engineering, it's that there really is no silver bullet.
The idea I wanted to convey is that Scala is very good in isolating complexity from one layer to another. Writing software is inherently complex, so it's not possible to eliminate it entirely. But the least we can do is not force it upon developers who don't need to deal with it. It's the same with garbage collection- it doesn't eliminate memory leaks altogether, but it certainly simplifies memory management a whole lot.
As for Scala, it's not the perfect language, and I don't think there is one. Minimal languages like the Lisp-based Clojure, or other dynamic languages like Ruby or Python all have their appeal.
I must say that Dick did a great job in giving an example that is both fairly simple to understand, but still showing enough of the new paradigms that Scala offers. It's hard to showcase a programming language in just a couple of minutes of one's attention span, but Dick also has the experience of the Scripting Bowl from the last Java One, where Scala finished second. The fact that this thread started a life of its own really shows that he struck a nerve.
For me, that's a mission accomplished- not to convince that Scala is the best language, but that there is more beyond Java, and you can use it now- it's not so difficult. I wouldn't go so far to say that Scala is superior to Ruby, Python, etc., but you can still learn something from Scala.
|
|