-----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 [email protected] -----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 [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.
