News for hackers. Stuff that matters.
Re:Type-safe GraphQL with OCaml by s4vi0r on Thursday November 30, 2017 @04:18PM (#15819628)
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.

Re:Type-safe GraphQL with OCaml by KirinDave on Thursday November 30, 2017 @09:30PM (#15821479)
Re:Type-safe GraphQL with OCaml by pimeys on Friday December 01, 2017 @03:20AM (#15822667)
I'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.

Re:Type-safe GraphQL with OCaml by KirinDave on Friday December 01, 2017 @03:11PM (#15826910)
Scalaz 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.

Re:Type-safe GraphQL with OCaml by pimeys on Saturday December 02, 2017 @03:48PM (#15833995)
I'm all with you here. I prefer Haskell and OCaml every time over Scala.
Re:Type-safe GraphQL with OCaml by k__ on Thursday November 30, 2017 @05:50PM (#15820378)
Last 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.