Link Details

Link 618743 thumbnail
User 903881 avatar

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
  • 10
  • 1
  • 3141
  • 0

Comments

Add your comment
User 442108 avatar

foudres replied ago:

-1 votes Vote down Vote up Reply

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.

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

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.

User 442108 avatar

foudres replied ago:

0 votes Vote down Vote up Reply

@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.

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

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

User 209172 avatar

mcnaz replied ago:

1 votes Vote down Vote up Reply

I could be wrong here but isn't Scala well supported in InteliJ and Eclipse?

User 442108 avatar

foudres replied ago:

-1 votes Vote down Vote up Reply

@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.

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Its all about gaining advantage over existing developers in terms of productivity / speed

User 906889 avatar

fastformations replied ago:

-5 votes [show comment] Vote down Vote up Reply

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (1)



Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax