It was recently announced that InfoQ is creating a new Operations community, which will be our seventh commnity. In addition to that, another major change which has been in the works for the last few months at InfoQ is the conversion of the Java community to the Scala community. InfoQ spoke with a prominent Scala expert and members of the former InfoQ Java editorial team to learn more about this change and why it was made.
Describing this transition, Charles Humble, lead editor of the Scala community, said:
As the lead Java editor for InfoQ the decision to drop coverage of Java and concentrate instead on Scala is not one we took lightly. In 1995 Java represented a paradigm shift. By taking ideas that worked well in other languages such as C, C++, Cedar/Mesa, Modula and Simula, and adding built-in distributed programming support, it moved both OO and distributed programming into the mainstream of enterprise computing. Today a similar paradigm shift is occurring as a consequence of the rise of multi-core machines, and it is functional language based. Scala is the Java of functional programming, described by Neal Gafter as "a strong contender for Java++." For modern enterprise computing Scala represents a much more logical choice then Java, and we expect it to become the dominant language on the JVM this year. We've recently thrown away InfoQs existing Java code base, re-writing it in Scala, and we expect many of our readers are engaged in similar activities. In view of this we've decided to concentrate our efforts on our Scala coverage, and to drop coverage for the Java langauge, and related legacy topics such as Java EE and Spring from these pages.
Dean Wampler, Ph.D., the co-author of O'Reilly's "Programming Scala", offered this comment on the sudden industry switch to Scala vs. the less appealing alternatives:
We all know that object-oriented programming is dead and buried. Scala gives you a 'grace period'; you can use its deprecated support for objects until you've ported your code to use Monads.
A measure of the rapidly-growing dominance of Scala is the book market. Three of the four introductory Scala books were published in the last year alone. Several books on more advanced Scala topics are due this year.
Our decision to move our code base to Scala has been validated by Oracle's decision to rename their Java.net site to Scala.net, effective today. They are offering a grace period for existing Java projects; they have until May 1st to port their code to Scala, after which time all remaining Java projects will be deleted. Similarly, Google Code has marked all its Java projects as "deprecated", effective today.
For those developers who need to port their Java code to Scala, Dr. Wampler offers this advice:
Just rename your .java files to .scala, run the scalac compiler, and fix the errors. You'll be done in no time!
Another long-time Java editor, Dionysios Synodinos, said:
What the emergence of so many JVM languages has taught us, is that our industry finds great value in the Java Platform but not necessarily in the Java language itself. This fact has spurred several discussions over the last couple of years about which language is going to replace Java and become the dominant JVM language - AKA "Next Big Language". The plethora of Java alternatives and the polyglotism trend, has led many in the past to believe that there isn't going to be a dominant alternative.
It is my belief that these people have been proven wrong by Scala's momentum that has been getting stronger and stronger since the early days. This language has all the necessary ingredients to completely replace Java and yet take full advantage of all the APIs, VMs, platforms and know-how that have been part of the Java ecosystem for so many years.
Drawing from InfoQ's statement of purpose which is to "track change and innovation in enterprise software", it was only logical to make a decision to focus our efforts exclusively on Scala!
We're still going to periodically cover Java related news, as we do e.g. with COBOL, but it makes no sense to have a specific community especially for it.
In a related development, Yukihiro "Matz" Matsumoto, the inventor of the Ruby language, announced today that the next version of Ruby, 1.9.2, will switch from dynamic typing to static typing, using a port of Scala's type system. Analysts speculate that the move is an attempt to stem the tide of developers who are moving from Ruby to Scala.
Community comments
Desperated
by Marcio Costa,
Re: Desperated
by Corneliu Petrescu,
Scala and Java on InfoQ
by PPP BBB,
Re: Scala and Java on InfoQ
by Eduard Korenschi,
Re: Scala and Java on InfoQ
by Abhay Bakshi,
Nice
by Dmitry Tsygankov,
Scala and Java on InfoQ
by Narasimham Gadde,
Nice
by Sasa Vender,
:)
by Spooky Sleeper,
Re: :)
by Maxim Gubin,
Good
by Fanch K,
Welcoming our Scala overlords
by Robert Roland,
Scala.net
by José González D'Amico,
I'll admit it
by Zefram Cochrane,
Desperated
by Marcio Costa,
Your message is awaiting moderation. Thank you for participating in the discussion.
In an effort to revert the situation, James Gosling today announced Java 8 will feature multiple inheritance and pointers.
Scala and Java on InfoQ
by PPP BBB,
Your message is awaiting moderation. Thank you for participating in the discussion.
Sure, this is a pretty good article!
But its very unfortunate that today is April 01st. :-)
Nice
by Dmitry Tsygankov,
Your message is awaiting moderation. Thank you for participating in the discussion.
Nice article :)
Re: Desperated
by Corneliu Petrescu,
Your message is awaiting moderation. Thank you for participating in the discussion.
I almost fell from my chair laughing when i read this... nice one :)
Re: Scala and Java on InfoQ
by Eduard Korenschi,
Your message is awaiting moderation. Thank you for participating in the discussion.
Did you really have to be the smarty-pants who ruins the surprise? :(
Scala and Java on InfoQ
by Narasimham Gadde,
Your message is awaiting moderation. Thank you for participating in the discussion.
Nice April fool joke
Nice
by Sasa Vender,
Your message is awaiting moderation. Thank you for participating in the discussion.
:))))
:)
by Spooky Sleeper,
Your message is awaiting moderation. Thank you for participating in the discussion.
I am reading and...thinking: How long did I sleep? (10 years)?
And then I figure it out. Great stuff!
Re: :)
by Maxim Gubin,
Your message is awaiting moderation. Thank you for participating in the discussion.
Wow you got me! I didn't get much sleep last night and was still sleepy when reading this. I almost sent out a letter to my dev department about the shocking news.
Arrghhh.
Good
by Fanch K,
Your message is awaiting moderation. Thank you for participating in the discussion.
Nice one :-)
Welcoming our Scala overlords
by Robert Roland,
Your message is awaiting moderation. Thank you for participating in the discussion.
I, for one, welcome our Scala overlords, even though I was secretly hoping Clojure would replace Java.
Re: Scala and Java on InfoQ
by Abhay Bakshi,
Your message is awaiting moderation. Thank you for participating in the discussion.
Forgive him.
Scala.net
by José González D'Amico,
Your message is awaiting moderation. Thank you for participating in the discussion.
FYI, scala.net redirects to www.epicor.com
Yes, I fell in this one too. Never take seriously ANYTHING written in April 1st
I'll admit it
by Zefram Cochrane,
Your message is awaiting moderation. Thank you for participating in the discussion.
I fell for it. It took five minutes for me to come to my senses.
Well done!