Current results of "dictionary word count" programs...
bryan.sant at gmail.com
Mon Mar 13 14:50:22 MST 2006
On 3/13/06, Roberto Mello <rmello at fslc.usu.edu> wrote:
> On Mon, Mar 13, 2006 at 01:58:41PM -0700, Bryan Sant wrote:
> > Python
> > ------
> > LOC: 18
> Are you counting empty lines then? Jonathan's code had 16 without blank
> Politically correct? I'm not even ANATOMICALLY correct!
Yes, I was, incorrectly counting lines. I was just doing wc -l
<file>. Lazy, lazy. I should have done "cat <file> | grep -v ^$ | wc
The accurate count is:
Python LOC is 15.
Ruby LOC is 15.
C++ LOC is 28.
Java LOC is 32.
Perl LOC is 32.
More information about the PLUG