RE: [PHP-GTK-DOC] Re: [PHP-GTK] what is going on with gtk.php.net?
| From: | Steph | Date: | Fri, 16 Jul 2004 14:02:34 +0000 |
| Subject: | RE: [PHP-GTK-DOC] Re: [PHP-GTK] what is going on with gtk.php.net? | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-869@lists.php.net to get a copy of this message | ||
> I think we could have a section of PHP-GTK documentation that points
> site users to the GTK+ docs and helps them understand the relationship,
> but the rest of the docs should be a reference to the PHP-GTK functions
> and classes.
I suggested this a LOOOOOOOOOOOONG time ago (near the beginning of the
project) and Andrei vetoed it. I don't know whether the experience of the
intervening years has made him change his mind about that.. might be worth
asking again.
> > b) documentation always lags code, because there's little benefit to
> > creating documentation, compared to the benefit of creating code, and by
> > far I'd rather have code that is undocumented than no code at all. I
> > can use the former, but not the latter.
>
> I completely disagree. I, along with others here, constantly have the
> manual at php.net open as we develop. When we need to reference a
> function/class, we look it up. I don't go sifting through lines and
> lines of code to find a function and figure out how it works; I rely on
> the excellent reference that the php.net manual provides--even if it
> doesn't provide tons of coding examples (we can leave that to the
> user-supplied notes).
Hm, so do I have the manual constantly open, but I have to admit that when
the documentation's actually non-existant (e.g. during PHP 5 development) or
downright wrong (e.g. during PHP 5 development ;) it's very useful to be
able to check back to the source and find out wtf is going on. It's not
even unknown for developers to provide bad demo code
<cough>sterlinghughes</cough>.