News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by bcrosby95 on Thursday April 22, 2021 @12:13PM (#26904455)
Scala is a kitchen sink language. You can write it like FP, OO, or anything inbetween. So you're bound to get codebases that aren't written in the developers preferred style.

On top of this, lots of companies started using Scala because Java hit a long period of stagnation. So these companies have a mix of Java/Scala and a primarily Java developer - that likely doesn't like kitchen sink languages - may be required to maintain a Scala program from time to time.

Re:Green vs. Brown Programming Languages by valenterry on Friday April 23, 2021 @01:49AM (#26911358)
It's also the only viable language with a decently sized community that allows you to write mostly FP or even fully FP code on the JVM. And one strength is that you can go from OOP via OOP+FP to fully FP if you want.

Yes, that can also cause a mess, but for learning it is one of the best languages out there imho.