The Rise and Fall of Scala
dzone.com
dzone.com
> Scala will probably never become the next big programming language. But, it will be around for years to come as the language of choice for niche problem domains such as Big Data programming.
EDIT: Thank you dsabanin and sndean for the clarification. The flag is justified -- his data is definitely faulty. There was no rise of scala to #13 in 2012 (I looked through a few other months of TIOBE too). It looks like it has been steadily rising.
It is unfortunate, most of the article (excluding the clickbait hook) is about the benefits of functional programming (like Scala).
Here's TIOBE for May 2012:
https://www.scribd.com/document/94860678/TIOBE-Programming-C....
http://pypl.github.io/PYPL.html?country=US
Scala looks pretty steady since 2013. If anything, it's gone up.
Compile times became a huge drag at Foursquare and I did not want to repeat that experience. I love many many many things about Scala but having engineers sit around for huge periods of time waiting on their compiler just wasn't worth it.
Other's opinions may differ from mine in many ways. Just offering up a single data point.
This is pretty much the same concept as Blaze/Bazel or Buck, but from Twitter.
(sorry. pet peeve.)
However, a lot of people seem to not believe the author, but I am not sure what the complaint is.
1. Do you believe Scala did not have a fall? -- if so, what is the explanation for the data presented?
2. Do you believe the fall is for different reasons? -- I think everyone would be curious to know what those reasons are.
I am all for complaints but they're more interesting when the reasons are divulged.
Java has been sloooowly adding features that Scala championed in the JVM world; lambdas and type inference within them in Java 8, REPL in Java 9, partial cases clases in Java 10 (yes to the syntactic sugar, no to the ADT semantics and pattern matching). Adding those features underscores the validity of Scalas vision. But if you've experienced the real thing Java is just too little too late.
Good luck waiting for hobbled cases class for the next 3 to 4 years. By the time Java has those the rest of the world will be accustomed to union types and literal types.
However some of the critiques of Scala I think are well taken.
1.) It's true that there are often a zillion ways of doing things. In contrast to Python, readability and consistency don't seem to be a core part of the language's culture.
For example the first element of a tuple is x._1 but the first element of a list is x(0). I understand this is for historical mathematical reasons, but that just doesn't seem necessary IMHO.
2.) Operator overloading makes some code really hard to read and requires a lot of cognitive overhead.
For example, without explanation do you know what the ::: operator does? Or :+ or +:? They are obviously learnable, but why do this instead of named (readable) methods? In short I think brevity over readability is not the right choice.
3.) As others have said, compile time. It's not too bad for us, but yeah, it's long.
These contribute to the language being a little hard to get up to speed with, and not infrequently coming into contact with code that's fairly indecipherable.
That said, I actually quite like the language. The rich types/mixins, the clean functional programming, I find myself missing these things when I go back to other languages. Everything can be improved and I expect Scala to continue to flourish.
So I think Scala is more or less steady in usage. There is no rise or fall of Scala.
Scala is >12 year old.
But it always feel so new and fresh. Every new release would likely break existing code.What backs your claim that Scala usage is comparatively steady in usage? The amount of software grows over time so that must be factored in or else people could say COBOL is just as popular as it was before.
> The TIOBE index (www.tiobe.com) of software language popularity ranked Scala at #13 in 2012; now it’s fallen to #32 in August 2016
From what I can find, TIOBE for Scala was actually #46 in May 2012:
https://www.scribd.com/document/94860678/TIOBE-Programming-C...
That means it grew 14 points since 2012, not fell.
More debunking here:
https://gist.github.com/anonymous/5df1f1f6c6b6ebbb4dc67b2bc4...