Okay not to harp on this again but Bruce B left a very valid comment on this post:
No, it’s not “’nuff said”–rewriting anything usually involves a LOT less code whether you are using the same language or not. This is elementary to anyone who has ever rewritten anything.
Bruce B - that’s a good point, and very true.
Someone seriously needs to do a Web Language/Framework Code-a-thon shootout.
Have some trusted third party (Tim O’Reilly and his crew, perhaps?) come up with a spec (or as much of a pseudo-spec mockup one can reasonably expect) that is kept secret until the weekend of the Shoot-out.
Let all programming language warriors have at it over a period of say 48 hours.
All submissions would be released as open source, including Subversion logs, a la Rails Rumble style. Let the entries be judged by both non-technical experts (evaluating simply the look/feel and adherence to the spec), as well as domain/language experts. i.e. the J2EE people will judge their #1-3 best apps, the python camp will have theirs, ruby, PHP, Smalltalk, Lisp on down the line.
Of course, the point is not so much about expert judges but to get a “reference spec” of the best possible implementations from a variety of programming languages and webapp frameworks.
You hear this refrain a lot: “well, if you just had the very best of our people do it, it would have X number of lines and be so blazing fast, etc.” I believe this to be true, to an extent.
The Yellowpages.com Java => Ruby rewrite went from 100k lines down to 10k. Would the Java => Java Guru rewrite go from 100k down to 50k or 100k down to 25k?
Does it even matter? Well, yes.
I really would be intrigued to see how the same problem (exact same spec) is solved by a wide array of languages/frameworks/etc.
Ideally, the spec would be full/dense enough that time would be a factor. So that 95% of groups would actually not complete all of the items in the spec. This would make it easier to grade on the curve as it were, and see which teams where able to get the farthest using their language/framework of choice.
Will this ever happen? It’s doubtful… Who would really have anything to gain by such a shootout, besides for academic reasons? also unless you get buy-in from heavy hitters of all camps, people can claim that the shootout was “rigged” because X camp’s best people weren’t on board or whatever. I like the idea in theory though…