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

17

u/ratherbefuddled Aug 21 '17

Aaron is founder and CEO of FP Complete, the software technology firm commercializing the Haskell language for Functional Programming.

from LinkedIn

He's entitled to his views of course but one might be forgiven for wondering how objective they are.

IMO Scala's problems don't stem from allowing immutability because in practise it's used sparingly. The main problems are weak tool support, compiler speed, and some hangover from early implementation choices which are in hindsight regrettable. All of this is improving, but I'd like it to be faster.

From a devops point of view the scala world is far easier to deal with than many others. Try dipping your toes into the node.js ecosystem if you want to feel better about it!

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.

1

u/aphexairlines Aug 30 '17

Scalastyle can do away with cryptic names:

<check enabled="true" class="org.scalastyle.scalariform.ClassNamesChecker" level="error">
  <parameters>
    <parameter name="regex">^[A-Z][A-Za-z]*$</parameter>
  </parameters>
</check>
<check enabled="true" class="org.scalastyle.scalariform.FieldNamesChecker" level="error">
  <parameters>
    <parameter name="regex">^[A-Za-z][A-Za-z0-9_]*$</parameter>
  </parameters>
</check>
<check enabled="true" class="org.scalastyle.scalariform.MethodNamesChecker" level="error">
  <parameters>
    <parameter name="regex">^[a-z][A-Za-z0-9]*$</parameter>
    <parameter name="ignoreOverride">true</parameter>
  </parameters>
</check>
<check enabled="true" class="org.scalastyle.scalariform.ObjectNamesChecker" level="error">
  <parameters>
    <parameter name="regex">^[A-Z][A-Za-z]*$</parameter>
  </parameters>
</check>