Re: [The Java Posse] Scala and Java spec size

2010-08-06 Thread Kevin Wright
The idea that we can establish some sort of formal complexity measurement for documentation is... interesting. Although I think there's more joy to be had in measuring EBNF, or the size of some other parser grammar considered complete for the language. I'd also like to briefly explore one of the d

[The Java Posse] Scala and Java spec size

2010-08-05 Thread JodaStephen
Kevin Wright is fond of repeating: Java (3rd Edition): 649 pages, 7932 KB Scala (current in trunk): 191 pages, 1312 KB therefore Scala is less complex. But has anyone actually analysed the specs in detail? In code coverage terms, how many distinct "code paths" are there in each spec. That is sure