News for hackers. Stuff that matters.
Re:On Scala by trailfox on Wednesday June 19, 2013 @06:19AM (#5904713)
Does Haskell let me use the many Java libs that are used extensively internally in many organizations (including mine)?
Re:On Scala by virmundi on Wednesday June 19, 2013 @07:41AM (#5904933)
Terrible, terrible answer if you are mostly doing functional Scala. I've got a blog post that deals with this. Tl;dr: Java libs are good along as they are thread-safe or immutable; if they're not, you're looking at horrible side-effects where there shouldn't be any.

http://talesfromannoyance.blogspot.com/2012/05/why-im-lookin...

If you want reuse, you need to look at taking those parts and wrapping them up in SOA.

Re:On Scala by trailfox on Wednesday June 19, 2013 @08:17AM (#5905053)
For many use cases OO Scala works just fine, functional code used where it makes sense. Our goal is to integrate with existing systems, not to seek purely functional code as a goal in and of itself.
Re:On Scala by virmundi on Wednesday June 19, 2013 @08:35AM (#5905112)
I agree with the concept. My concern is what happens as your team grows to include others whose Scala background is more functional. There is a sense that they should be aware of the old way your code base is put together. Unfortunately things could go awry when they code new functional based code expecting functional based input.

Don't get me wrong, I like Scala. You just really have to watch its dual paradigm behavior when dealing with Java code

Re:On Scala by lucian1900 on Wednesday June 19, 2013 @07:05AM (#5904823)
No, but that still doesn't excuse Scala's syntax.
Re:On Scala by trailfox on Wednesday June 19, 2013 @07:15AM (#5904851)
We haven't had issues with Scala's syntax. Point is that Haskell isn't a viable option for most use cases.