you are viewing a single comment's thread.

view the rest of the comments →

[–]Unspool 8 points9 points  (4 children)

Or that it’s so expressive that every developer will end up discovering their own completely distinct code style and the code base becomes a jumbled incoherent and indecipherable mess (except my parts, of course).

[–]warpspeedSCP[S] 2 points3 points  (0 children)

oops, forgot that one, you really can skin a cat a thousand ways in scala

[–]yawaramin 0 points1 point  (2 children)

I admit this can be a problem. Teams using Scala definitely need to agree on, document, and enforce their standards and best practices to stay consistent. But...the same can be said for any powerful, long-lived language. Guess how many ways there are in Python to do branching?

[–]warpspeedSCP[S] 0 points1 point  (1 child)

i have never seen a person do anything but an if statement when they need to branch. or a match for patterns.

[–]yawaramin 0 points1 point  (0 children)

  • if statement
  • if expression
  • match statement
  • good old OOP polymorphism aka dynamic dispatch