News for hackers. Stuff that matters.
Re:From First Principles: Why Scala? by Cthulhu_ on Thursday February 11, 2021 @10:24AM (#26102412)
This is my biggest gripe with Scala as well. I'm sure it's a great language, but I've often seen it used to add complexity where none is necessary. It's abused to give developers a sense of accomplishment and intellectual superiority.

In fact, in one project my former employer was involved in, one main reason they picked Scala was to, on the one hand, weed out the chaff from their existing team of .net developers (in a "shape up or ship out" kind of fashion), and on the other to weed out the 95% of mediocre Java developers.

Re:From First Principles: Why Scala? by dmux on Thursday February 11, 2021 @12:32PM (#26104488)
>...I've often seen it used to add complexity where none is necessary.

This reminded me of a great blurb about Niklaus Wirth's approach to languages:

>Wirth’s philosophy of programming languages is that a complex language is not required to solve a complex problem. On the contrary, he believes that l languages containing complex features whose purposes are to solve complex problems actually hinder the problem solving effort. The idea is that it is difficult enough for a programmer to solve a complex problem without having to also cope with the complexity of the language. Having a simple programming language as a tool reduces the total complexity of the problem to be solved. [0]

[0] Pg.2 http://www.cslab.pepperdine.edu/warford/ComputingFundamental...

Re:From First Principles: Why Scala? by abhgh on Thursday February 11, 2021 @01:52PM (#26105574)
What makes this quote really interesting is that Wirth was Martin Odersky's (guy who designed Scala) PhD advisor!
Re:From First Principles: Why Scala? by lmm on Thursday February 11, 2021 @08:52PM (#26109949)
Scala is a very simple language at its heart. Unfortunately that empowers developers to write really complicated libraries, leaving application developers in much the same place as if they were using a language with complicated features. (Most application developers can't even tell the difference - most complaints about "Scala is a complex language" turn out to be "I was using a complex library in Scala")
Re:From First Principles: Why Scala? by cutler on Friday February 12, 2021 @04:42PM (#26118896)
Implicits are responsible for most of Scala's complexity whether you grok them or not.
Re:From First Principles: Why Scala? by augustk on Thursday February 11, 2021 @01:39PM (#26105422)
Niklaus Wirth designed and implemented the languages Pascal, Modula-2 and Oberon of which the last one is the smallest.

https://miasap.se/obnc/oberon-report.html

Re:From First Principles: Why Scala? by dboreham on Thursday February 11, 2021 @11:18AM (#26103307)
> sense of accomplishment and intellectual superiority

This, I feel, is underneath a very large proportion of everything in our industry.

Re:From First Principles: Why Scala? by dominotw on Thursday February 11, 2021 @10:44AM (#26102754)
> weed out the chaff from their existing team of .net developers

This is scala equivalent of HN/pg lisp folklore.