Right; that's clear then. Thanks ! It's just that during my trials with Scala I regularly crashed the compiler on pattern matching. One of the identified causes was the that the generated method was too big for the JVM. Is that still the case ?
On Wed, Nov 23, 2011 at 15:36, Kevin Wright <kev.lee.wri...@gmail.com>wrote: > It's a bit more complicated than that... > > Since the referenced podcast was recorded, the collections framework has > been steadily aggregating tests and fixes/performance enhancements from the > community. It's definitely in better shape than it was back then. > > Also, many of the subtle bugs (so not the stuff you're likely to encounter > on a day-to-day basis) originate from the pattern matching code. This is > one of the oldest sections of the compiler code and grew organically long > before Scala looked like it had the potential to be a commercial success, > it's also got to be the single largest source of WTFs for anyone working in > the compiler source. > > So the directors of the firm hired to continue the pattern matcher after > the other people had been sacked, wish it to be known that they have just > been > sacked. A shiny new and fully tested pattern matcher has instead been > completed in an entirely different style at great expense and at the last > minute. [1] > > In short? Yes, there's some less-than-perfect legacy code in there, as > with any well established codebase[3]. But it's most definitely improving, > and the nastiest code is invariably the stuff that has been most widely > used, so it's had plenty of testing one way or another. > > > [1] Not really[2], it was done lovingly with great care and attention, > over some period of time. Nobody was sacked. > [2] But I couldn't resist the quote... > http://www.imdb.com/title/tt0071853/crazycredits [4] > [3] And Scala's old enough that it was written when people still thought > that embedded XML was a good idea! > [4] We apologise for the fault in the footnotes. Those responsible > have been sacked. > > > > > > On 23 November 2011 14:04, Jan Goyvaerts <java.arti...@gmail.com> wrote: > >> Speaking of which - NO intention whatsoever to start a flame war ! - is >> it correct about the state of the testing ? >> >> >> >> On Wed, Nov 23, 2011 at 14:42, phil swenson <phil.swen...@gmail.com>wrote: >> >>> http://blog.joda.org/2011/11/scala-feels-like-ejb-2-and-other.html >>> >>> > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javaposse@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.