Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66997 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18600 invoked from network); 7 Apr 2013 11:10:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2013 11:10:17 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.173 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.173 mail-lb0-f173.google.com Received: from [209.85.217.173] ([209.85.217.173:48440] helo=mail-lb0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/C1-31540-81451615 for ; Sun, 07 Apr 2013 07:10:17 -0400 Received: by mail-lb0-f173.google.com with SMTP id w20so4878729lbh.4 for ; Sun, 07 Apr 2013 04:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=s4/42h8RPH0NS3NKA3AyHfSry2Q5fh00FvrrbZy3vrs=; b=hSu1gHCZSGLyo0kwIjON0Ssm9dLv4IM40Gxmc3usz6S0gnH0lQ5+Ff2RF+qQBxugtT Cdy6n1Sf8Sty3sa5yDFM9nEYoMLQspyJNwbEy94c1SymlsnKCF4P9EgvHgyUgEYWLnH7 MXczfg1TmjSlKjEDLnG7DN0CmTuoEmGPElFDEn7gGsVYirGctusQcCv+2bKz82T7v4Pj nnDZDOwB7cPEAJhglrZeCoNE2IbrUBYcYxwbiUlySxZrbcP0hBQDJxtqH/ygUNVzRrlA y/1uvVdvJXkt7fRRvuSv7KRtDOKfEfpXCWTGmdKlmT70aablBgvXB/HPjT/PKIYKyNgn Vl2A== MIME-Version: 1.0 X-Received: by 10.112.144.39 with SMTP id sj7mr9524512lbb.29.1365333014174; Sun, 07 Apr 2013 04:10:14 -0700 (PDT) Received: by 10.112.163.40 with HTTP; Sun, 7 Apr 2013 04:10:14 -0700 (PDT) In-Reply-To: <51613BE9.9050504@php.net> References: <515F397F.8090401@sugarcrm.com> <51613BE9.9050504@php.net> Date: Sun, 7 Apr 2013 13:10:14 +0200 Message-ID: To: Joe Watkins Cc: PHP internals , Stas Malyshev Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Proposal to document all of Zend and PHP API and SAPIlayers From: pierre.php@gmail.com (Pierre Joye) hi, On Sun, Apr 7, 2013 at 11:27 AM, Joe Watkins wrote: > It is useful if we define the accepted format and encourage people to > include useful information, clearly you can look at a function and know it's > prototype immediately, but there's no way you know of all 1000 functions, > how on earth do you search for a function you do not even know exists. > Assuming you find it, which 800/1000 times you will not, reading a > prototype doesn't give you all the information you need, it doesn't give you > anything. You always end up having to read the source code, where it could > be explained in one/two English sentence(s) which your eyes can process at > the same time as reading the prototype itself ... > > I cannot believe it's taken so much discussion just to get nowhere, all > I wanted was for someone to take the lead and say "use this > standard/format/software", "you may/may not edit headers", "we will deploy > the documentation at http://" ... I give up ... The more I look at this problem (and have looked at it quite a lot of time), the more I think we should enforce one tool for inline docblock. Doxygen or other (I use cxref, small and perfect for C) would do it, generate docs on release/snaps and be done with that. But the current situation simply increases the clue gap between those implementing internal functions and those using them. Btw, I do not blame anyone, we are all lazy, and I am the laziest :) Cheers, -- Pierre @pierrejoye