News for hackers. Stuff that matters.
Re:Friends don't let friends do Java by gozur88 on Wednesday June 29, 2016 @04:51PM (#12004709)
So you're not supposed to tell people where errors occur in Scala? Is that like Inigo Montoya fighting with his left hand, because otherwise it's too easy?
Re:Friends don't let friends do Java by idobai on Thursday June 30, 2016 @03:38AM (#12007113)
> So you're not supposed to tell people where errors occur in Scala?

You're supposed to use the types `Option` and `Either` or if you're into scalaz then \/ (http://eed3si9n.com/learning-scalaz/Either.html) and Validation (http://eed3si9n.com/learning-scalaz/Validation.html). Throwing exceptions is a childish way to handle errors in FP.

Re:Friends don't let friends do Java by gozur88 on Friday July 01, 2016 @12:25AM (#12013865)
I don't see why anyone would find this superior to a stack trace.