November 24, 2008Guido on ScalaGuido took a look at Scala recently and he came out a bit intimidated by the language, which matches my perception. I initially started with quite a lot of fondness for Scala but as I dug deeper in the language, the complexity and a few specific features started to worry me. I have been following the Scala mailing-list for a few years now and the snippets of code I read on a daily basis have been increasingly complex and frightening, and it's taking me more and more time to make sense of them. Not a good sign. Anyway, read Guido's take and especially the comments. Here is one I found particularly interesting, from David Pollak, the creator of Lift: But, unlike my Ruby code, [with Scala] I only need 50%-60% test coverage (vs. 95% coverage) to have stable, deployable code.This is an angle that I have often been defending in the debate that pits statically against dynamically typed languages, but it's the first time that I come across such strong evidence. Comments
Would the missing link be to (HTTP) neopythonic.blogspot.com/2008/11/scala.html Posted by: Alex at November 24, 2008 03:57 PMWhere by strong, you presumably mean anecdotal... Posted by: Ian Phillips at November 25, 2008 12:58 AMWhere by evidence, you mean unsubstantiated claim Posted by: Frank at November 25, 2008 01:42 AMAnd here I thought you should have 90+% coverage for code regardless of language. Silly me. Posted by: Sam at November 25, 2008 10:30 AMHmmm. Two witty remarks and someone who thinks that 90% code coverage is a town where everybody lives. Talk about outstanding rebuttal. +1 to the group that thinks that ruby is harder to debug than java (just because I lack proper tools) and requires more tests that I would have to maintain. Posted by: Ignacio Coloma at November 25, 2008 11:23 AMHi Cedric, are there any plans to support other languages on Android? (Not necessarily Scala) Stefan Posted by: Stefan at November 25, 2008 01:05 PM"the snippets of code I read on a daily basis have been increasingly complex and frightening, and it's taking me more and more time to make sense of them." Perhaps that's a sign of an increasingly diverse user base. Do you write any Scala code, Cedric? Posted by: Ricky Clarkson at November 25, 2008 03:57 PMHow to contact you cedric..whats your mail id..I need to ask some problem Posted by: Ankur at November 26, 2008 04:16 AM"...it's taking me more and more time to make sense of them. Not a good sign." We live in a day and age where if one fails to understand a concept, it is the fault of the concept. How incredibly sad. Posted by: Tony Morris at November 27, 2008 12:10 AMwhat about python and the 50 versus 90% code coverage? Posted by: roger at December 23, 2008 10:37 AMPost a comment
|