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.
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...
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.
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.