On 25 August 2010 23:36, Reinier Zwitserloot <[email protected]> wrote:
I think the idea is that where code in java is equal to or not much > longer than its scala equivalent, the java version wins because java > is simpler to understand. To whom? I'm sure a programmer who only knew Lisp, or Haskell, or Scheme, or OCaml, or Scala would have a different opinion on which was easier to understand. Speaking for myself, I now struggle for a while when attempting to understand code that relies on objects with mutable state, it adds a whole extra level of complexity to my mental model that makes the logic harder to reason about. > There also some pragmatic concerns, for > example, interopping java 1.1-targeted library code with code written > against java 1.6 isn't all that difficult, whereas writing scala 2.8 > and using a library written in scala 1.0 is not going to work very > well. It's a fair cop! And a known problem. getting binary compatibility sorted is top of the priority list, after the 2.8.1 point release comes out. > On Aug 25, 8:55 am, Kevin Wright <[email protected]> wrote: > > http://michid.wordpress.com/2010/08/24/so-scala-is-too-complex/ > > > > <http://michid.wordpress.com/2010/08/24/so-scala-is-too-complex/>I'm > > curious, does anyone have an example of the same problem being solved in > > both Java and Scala, with Java offering the simplest solution? > > > > -- > > Kevin Wright > > > > mail/google talk: [email protected] > > wave: [email protected] > > skype: kev.lee.wright > > twitter: @thecoda > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Kevin Wright mail/google talk: [email protected] wave: [email protected] skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
