Subject: Re: Theories on why Lisp source *seems* to have less comments?
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 25 Jul 2006 04:05:37 -0500
Newsgroups: comp.lang.lisp
Message-ID: <L_GdnVY7qox8Q1jZnZ2dnUVZ_sadnZ2d@speakeasy.net>
Tim X  <timx@nospam.dev.null> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) writes:
| > Or Tcl?
| 
| compiled Tcl?
+---------------

Dunno, sorry. I've never [knowingly] used compiled Tcl.
Mostly I just use the fact the it stores procedure arglists
and bodies where they can be recovered/printed, e.g.:

    tcl>proc foo {a b} {
    =># "FOO A B" adds A & B and returns the sum.
    =>expr $a + $b
    =>}
    tcl>foo 12 34
    46
    tcl> 

Then, later:

    tcl>info args foo
    a b
    tcl>info body foo

    # "FOO A B" adds A & B and returns the sum.
    expr $a + $b

    tcl> 

But for a more formal docstring-only retrieval system, you
might want something like this <http://wiki.tcl.tk/10793>.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607