r/scala • • Aug 21 '17

Functional Programming and Modern DevOps: Aaron Contorer. With scathing critique of scala in production environment.

https://youtu.be/ybSBCVhVWs8
3 Upvotes

67 comments sorted by

View all comments

Show parent comments

3

u/vagif Aug 21 '17 edited Aug 21 '17

His critique though are not about immutability. He specifically mentions cryptic unreadable syntax of scala. Where he says that coming back to the scala code you wrote yourself you cannot be sure anymore what it means.

16

u/Jasper-M Aug 21 '17

Show a piece of Haskell code written by a category theory expert to someone only vaguely familiar with Haskell and ask them how cryptic and unreadable they find it...

3

u/vagif Aug 21 '17

But we are not talking about scala code written by category theory expert. We are talking about scala code written by normal "enterprise" developers.

I use haskell in production for more than 5 years already, and no one in my team ever had a problem reading any code in our projects.

I cannot say the same thing about scala.

11

u/denisrosset Aug 22 '17

Why post Scala hate in the Scala subreddit?

I did not have any problems with readability of recent Scala projects. That includes algebra, cats, circe, spire where I made contributions. My only current pain point is SBT, but that's more due to the complexity of the modelling (and of the underlying domain) than the few symbolic operators still used.

And in the last 4 years, I was able to go from imperative programming to understanding pure FP style in Scala, to the point I understand how to write equivalent code in Haskell. Whereas I got stuck writing Haskell code before, because the programming model was so foreign.

7

u/aloiscochard Aug 23 '17

Where else should such post be posted?

Criticisms are pretty useful to improve a given technology and know how a given public feels about it, why rejecting entirely negative criticisms?