News for hackers. Stuff that matters.
Re:Java vs. Scala: Divided We Fail by pkolaczk on Saturday July 05, 2014 @12:02PM (#7992222)
If you get only 30-50% code size reduction, then you don't write real Scala, but some kind of Java with Scala-like syntax. Stay with Kotlin then, Scala is no good for you.
Re:Java vs. Scala: Divided We Fail by pkolaczk on Saturday July 05, 2014 @02:10PM (#7992552)
Let me clarify: we just recently implemented Spark-Cassandra connector in Scala, basing on the previous similar work done for Hadoop-Cassandra in Java and the reduction in size was about 3x and up to 5x in concurrent code; however it is still hard to measure properly, because the new driver offers more functionality than the original. Of course YMMV, but writing in Scala is not just getting rid of meaningless boilerplate.