Right :) Unlike the original Java, it's open source - so if anyone wanted to add features to scalac, they'd be more likely to fork it than to start from scratch working against the spec. Even that is highly unlikely because:
1. scalac has a plugin mechanism for extending/changing functionality 2. Scala offers some quite nice techniques for you to add functionality via libraries, without requiring dedicated compiler support. Just take a look at actors (http://www.scala-lang.org/node/242) or ScalaTest(http://www.scalatest.org/quick_start), that's all library... On 4 August 2010 18:16, Fabrizio Giudici <fabrizio.giud...@tidalwave.it>wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 8/4/10 17:09 , Kevin Wright wrote: > > I actually got the numbers wrong here. although the final page has > > 649 printed on it, acrobat informs me that the document is in fact > > 684 pages long, > > > > Java (3rd Edition): 684 pages, 7932 KB Scala (current in trunk): > > 191 pages, 1312 KB > > > > Why would this be so? I can think of a few reasons: > > > > * Java has had longer to discover and document ambiguities * The > > Java spec contains more "boilerplate": copyright, legal notices, > > padding, whitespace, etc. * Much of what Java considers to be part > > of the Language in Java is library in Scala (and so out of scope > > for the spec) e.g. enums, while loops, break/continue * Java has > > *lots* of special cases that Scala does away with e.g. autoboxing, > > + operator on strings, etc. > > > > Truth be told, it's probably all of the above... > > Also, I'd say that Sun intention was to allow others to independently > implement the compiler (as IBM did), and in this case I presume you > have to be pretty picky. I think there's only a single Scala compiler > around, right? > > - -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > java.net/blog/fabriziogiudici - www.tidalwave.it/people > fabrizio.giud...@tidalwave.it > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkxZoFEACgkQeDweFqgUGxd1kACeMa5OLnib0s4JR48+XU2IiB2W > orgAn16IQ4IDXwLe3t7ESlWKSjBBYEcg > =WwvA > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javapo...@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Kevin Wright mail/google talk: kev.lee.wri...@gmail.com wave: kev.lee.wri...@googlewave.com 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 javapo...@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.