I was going mention that a 'word counter' is not two 'Bell Labs
lines', but two Bell Labs *characters*: wc

And the tools programming model trounces everything else once more.

uriel

P.S.: For http://gsoc.cat-v.org and http://9p.cat-v.org I wrote (with
the help of Kris) a whole website engine, including multi-domain
handling, a blog with rss feeds and and other junk in two hundred
lines of rc and awk. After this, thinking about building websites with
python or any other language makes me cringe.

On 6/17/07, Martin Neubauer <[EMAIL PROTECTED]> wrote:
* David Leimbach ([EMAIL PROTECTED]) wrote:
> it's not short, if you count the class implementation.  it doesn't
> >convey the idea - the solution is not understood unless you
> >understand each piece.
>
>
> I disagree, to the extent that it really is short, in that it's one line :-)

So is

        word_count(text);

And a much simpler one at that.


Reply via email to