3 ms·
Exactly, the "custom syntax" is the problem. The problem is that Scala seems to attract the same type of thinking as C++, where there is a culture that rewards
by astral303 10y ago
Exactly, the "custom syntax" is the problem.
The problem is that Scala seems to attract the same type of thinking as C++, where there is a culture that rewards obscure, bizarre syntax.
I mean, why is it an exclamation mark to send messages to actors in Akka?
I need to write code to get things done. I want to spend minimal time figuring out bizarre operator-overloaded library syntax.
- bitL 10y agoFun like this: http://www.flotsam.nl/dispatch-periodic-table.html http://www.flotsam.nl/dispatch-periodic-table.html When I was a teenager, it was fun to do that in C++ until I realized everybody thought it was fun but their version of fun wasn't compatible with my version of fun.
- premium-concern 10y agoIf all you found was an old API from half a decade ago that doesn't even exist anymore, than I think that's a pretty good case for Scala.
- bitL 10y agoThat's irrelevant. Scala simply allows your coworker to go "off the rails", employing their creativity even to language constructs, and you either spend time to learn their way of thinking, set firm rules about what is allowed, or you are simply out of luck, like often with C++.
- edblarney 10y ago"I need to write code to get things done. " Yes. But their cultures are a little different. C++ I think is 1/2 academic, 1/2 Engineering - with a lot of voices, and a lot of anachronistic 'grey beards' arguing over stuff. Even for Java, James Gosling said 'Sun less less a company than it is a debating society'. Scala is almost purely academic - but driven by a single person / small team. Scala was not designed to solve an Engineering problem, thus it seems a little 'intellectually masturbatory' (pardon the term). Scala is way to hard to learn - partly because it's a 'new paradigm' but partly for the reasons aforementioned. So it's only going to make it's way into production for specific entities. Scala may have a 'big future' if tutorials, training and approaches settle down on commonly accepted standards and practices.
- walkingolof 10y agoScala is increasingly used in projects that underpin allot of todays infrastructure, for example Kafka, Spark, Akka and Finagle.
- edblarney 10y agoI don't doubt at all that Scala is 'industrial grade tech' and is theoretically capable of supporting even banks. But it's not going to go mainstream because the alternatives are far more accessible. The examples you mentioned are relative small. You know what's big? Walmart. WellsFargo. Honeywell. Novartis. I don't think 'it will be a while' before Scala gets into those shops, I think it will be 'never' unless there is a change to how Scala is presented. As of 2016, it's still a little academic and cliquish. Though I predict some things will change and it might gain popularity.
- premium-concern 10y ago> theoretically capable of supporting even banks https://scala.epfl.ch/ https://scala.epfl.ch/ > The examples you mentioned are relative small. You know what's big? Walmart. WellsFargo. Honeywell. Novartis. https://www.lightbend.com/resources/case-studies-and-stories/transitioning-to-scala-advice-from-a-developer-who-helped-rebuild-walmart-ca https://www.lightbend.com/resources/case-studies-and-stories... https://www.lightbend.com/resources/case-studies-and-stories/walmart-boosts-conversions-by-20-with-lightbend-reactive-platform https://www.lightbend.com/resources/case-studies-and-stories... https://medium.com/@kvnwbbr/transitioning-to-scala-d1818f25b2b7#.c3m53hqtn https://medium.com/@kvnwbbr/transitioning-to-scala-d1818f25b...
- edblarney 10y agoYeah - that's a lot of links for one point - Wallmart.ca. Which is cool, and doesn't surprise me. But I don't see the trend lines of Scala heading in the direction they need to be in such that it becomes and incumbent language. I don't see it as having enough disruptive power to break into the Javascript/C/C++/Java or even C# club. My own experience is with Scala is that there is just way, way to much 'change' for some added value. I wish they could make some tweaks to Java to incorporate some elements of Functional programming and I would be happy. And before you blow up, it's possible to mix both styles, obviously Scala itself is an example of that. A specific example: a lot of FP comes along with how collections, lists, maps etc. are managed and used. Lodash/underscore provides a lot of that for JS and makes a lot of JS 'functional-like'. If Java had such libraries with the mechanisms to use them (first class functions - Lambda's are not quite that) - then Java would be a lot better. Anyhow - to get the 'good things' about FP I don't think you need an entirely new linguistic paradigm.