4 ms·
Do you write Scala, or have you even looked at Scala code any time in the past few years? I'm curious where this habit of spreading FUD over Scala being operato
by s4vi0r 9y ago
Do you write Scala, or have you even looked at Scala code any time in the past few years? I'm curious where this habit of spreading FUD over Scala being operator heavy came from. Maybe it was back when it first started reaching the HN front-page or something?
Scala is a super approachable language, without any (that I can think of) strange operators in the stdlib. You could make a case for Cats, I guess, but writing purely functional Scala isn't necessary at all, and is something you can approach when or if you feel comfortable to do so.
- k__ 9y agoLast time I used Scala was 2010 or something. I never was a fan of the JVM stuff and Scala seemed like a reasonable alternative to Java, but I never got it.
- KirinDave 9y agohttps://github.com/scalaz/scalaz/blob/series/7.3.x/tests/src/test/scala/scalaz/BitraverseTest.scala#L41-L45 https://github.com/scalaz/scalaz/blob/series/7.3.x/tests/src... It is a mystery.
- pimeys 9y agoI'm not the biggest fan of Scala, but for me it's more that it reminds me of Java than the functional constructs. But pointing at Scalaz is a bit ridiculous. It's a known test library for trying things out and basically not allowed in any Scala codebase I've been working on.
- KirinDave 9y agoScalaz is widely used and widely panned. Even though I'm a haskell and purescript programmer that prefers to write <$> and >>=, I find Scala's approach frustrating and hard to read. Especially as type lambdas stack up. I'm just saying; the impression exists for a reason and the reason is a popular and well-known library.
- pimeys 9y agoI'm all with you here. I prefer Haskell and OCaml every time over Scala.