By Xin_Boston
via artima.com
Published: Jun 17 2011 / 02:47
Why Scala is better than older languages like Java
Another related post to look at: http://www.dzone.com/links/r/scala_the_static_language_that_feels_dynamic.html
Comments
foudres replied ago:
What you gain from scala expressiveness, you lose it from lack of good support from IDE, tools and slow compilation times.
In pratice you can write java code quite fast, maybe even faster than scala code. You know that backward compatibility is good (new scala collections broke old scala programs). and that new language feature when available will be supported by the full echosystem.
Where the car analogy is interresting is that:
- full eletric car are impratical. Low autonomy, no way to refuel outside of your house and... need to make lot of nuclear/fuel power plant to provide all this energy to electric car owners.
- dispite what being said, most old cars (at least in europe) consume less fuel than new car. Simply because they are smaller and lighter.
In conclusion I would say that if language expressiveness was key, we would all use lisp as our primary language. And honestly I would find more fun to use clojure than scala... Problem is... It is impratical.
RawThinkTank replied ago:
i know all that misinformation has been spread by my Uncle through mass media he owns.
now, think, what if we put a billion floating solar powered steam engine on seas a mile away from shores all over the world, the answer is simple, we will get a trillions volts everyday.
foudres replied ago:
@RawThinkTank
The point is not what in theorically possible or not. The point is what is available and possible today as a single actor. I don't care what could be possible if we had millions sola powered steam engines or perfect Scala tooling.
None are available today, we have to live with it. Period.
RawThinkTank replied ago:
LOL
See this is why my Uncle is so powerful and so will i become one day. His ability to make you believe things exist and dont is just amazing.
My Uncle forgot that i can sell a billion such solar steam engine powered electricity generators and before that i will buy all those beaches all over the world.
:-p
mcnaz replied ago:
I could be wrong here but isn't Scala well supported in InteliJ and Eclipse?
foudres replied ago:
@mcnaz and IDE support.
Yes and No. I'am a full time JAVA developper and I'am really interrested in Scala. And I have tried both Eclipse and InteliJ plugin. This is really improving, but it is not on par with JAVA support.
JAVA IDE support is perfect. Scala IDE support is "so so". Hopefully support will improve. But for me it is a real problem, what you gain in expressivity, you loose in tooling.
RawThinkTank replied ago:
Its all about gaining advantage over existing developers in terms of productivity / speed
fastformations replied ago:
Voters For This Link (10)
Voters Against This Link (1)