Hi Ferran: On Wed, 02 Apr 2008, Ferran Jorba wrote:
> http://www.ohloh.net/projects/compare?metric=Codebase&project_0=EPrints&project_1=CDS+Invenio&project_2=DSpace > So far about Java verbosity... Thanks, Guido :-) ! Dunno how "codebase" is calculated WRT renaming and branching and whatnot throughout the CVS history, but the DSpace 1.5.0 release has much less code than that: $ find dspace-1.5.0-src-release -name "*.java" -exec cat {} \; | wc -l 189872 $ find dspace-1.5.0-src-release -name "*.jsp" -exec cat {} \; | wc -l 24159 when compared to: $ find cds-invenio-0.99.0 -name "*.py" -exec cat {} \; | wc -l 149323 to list just the "main" languages. And I can easily produce "opposite trend" numbers if need be: $ find dspace-1.5.0-src-release -type f -exec cat {} \; | wc -l 282665 $ find cds-invenio-0.99.0 -type f -exec cat {} \; | wc -l 647401 thanks to the PO files, RDF files and friends, e.g. this single one: $ wc -l cds-invenio-0.99.0/modules/bibclassify/etc/HEP.rdf 119383 cds-invenio-0.99.0/modules/bibclassify/etc/HEP.rdf Only to show that all these tools are to be taken with a big grain of salt. ;-) P.S. I do agree with your Java remark; my favourite example is anonymous functions: - Python: lambda x: k*x - Java: new Callable() { public Object call(Object x) { return x.times(k) } } Best regards -- Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>
