Google Groups Home
Help | Sign in
Message from discussion Django users meetup in Palo Alto on April 27th
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Eric Walstad  
View profile
 More options Apr 28 2006, 1:21 pm
From: Eric Walstad <e...@ericwalstad.com>
Date: Fri, 28 Apr 2006 10:21:56 -0700
Local: Fri, Apr 28 2006 1:21 pm
Subject: Re: Django users meetup in Palo Alto on April 27th
Jacob,

Thanks very much for organizing, and paying for, the dinner last
night. It was a pleasure meeting you and the other guys that showed
up. I enjoyed the lively conversations.

At dinner I mentioned the application that we recently rolled out, the
California Instant Rebates application
<http://cainstantrebates.com/>

One of the guys asked about it wanting to know how many source lines
of code.  I didn't mention last night that this app was a ground-up
rewrite of version one of the application, which was written (by
others) in Java/J2EE.  Here's a sloc comparison summary:

Java version:
23,150 lines of java code
16,090 lines of jsp code
=========================
39,240 lines of code total
(no documentation, no unit tests)

Python version:
14,928 lines of python code*
 3,677 lines of unit test code
 6,376 lines of django templates
=========================
24,981 lines of code total
*(includes plenty of doc strings)

Now it's not really a fair comparison because the Python version has
more features than the Java version did and it was designed by
another team.  The Python version is also much easier to debug
because of the unit testing framework, documentation and sane design.  
All things considered, this app has been a huge success for me, my
team and our clients.  Three cheers for Python and Django!

Eric


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google