Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21455 invoked from network); 15 Jun 2017 09:33:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2017 09:33:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.172 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.223.172 mail-io0-f172.google.com Received: from [209.85.223.172] ([209.85.223.172:35949] helo=mail-io0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/35-49155-F5452495 for ; Thu, 15 Jun 2017 05:33:19 -0400 Received: by mail-io0-f172.google.com with SMTP id y77so8502863ioe.3 for ; Thu, 15 Jun 2017 02:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x0MBzTbWnvqE71MIq+KjvdDE9+J4gGahFKXHPQhy7J8=; b=YYbUgweTUT0RISP+8fXJ0l17rfuOh2mUy+5gj5tNu9E8MPfyMnDNE8s6GjV9xU4dJ+ c3Tm7s39Dq69rsnm1FVGOQMGo2SF7pB21GbnusU02PaDpa69J0D3GkfV0i9CMDGLg8rM tHhVmF/dfwRWwFuP1lTMR+MnNsgLXjlI/hi0GB4yvrUKCkWbrfVGdCBD5+7VTGio76qY R4fCA7Tj8Fv12UiCJAWieJGktZU3hIdEjxQco3kuRSu5k9nLXjWCogt8toVm8JOo2joY eeMCgAPyozxay7FgLXn5P9fVJNdOdFTGXPO2JTDwx4LriOCJoLGsQxHw7KvwZ73ZTZ8w zc+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x0MBzTbWnvqE71MIq+KjvdDE9+J4gGahFKXHPQhy7J8=; b=mZMRkw8xwmijmAI//PCy0unL3m6a5Kna4nbbpAhmj7NY2D0ISgkCwBhgc59dtDN5qO nm0jS1Exi6wClWWm9JJtNEaMJCEMsQO1AeLPqlhqN6wk9zdgXRv8vmKaXQCgC+YwEO8N FcPebScXftUgA0g57rWZHeBZkmIHDvnnPdR2Yxzkpd/bAA9nf+INJ93c8+XU223SBwrn euiu+mKEjN/MihGpr10HdhPrCYSSiFZroq+UA3ZKWH7HwJiOpxnaQCXhvbO8xY+WBW2q hvnHg62Am9eMJEQ5SKi2WavjrRh13BvXUpVY4q19Ym3H2vbMaIeHCK3XO54ydiVsruiL 5FCw== X-Gm-Message-State: AKS2vOxeVEme/wzJ8l0yV5q933K8SYLhDvvlM2py0BeQODxofcQYbcMP yqHKxhkG2Kexu73xr+JPpwkaeWLryike X-Received: by 10.107.4.200 with SMTP id 191mr4778999ioe.223.1497519196643; Thu, 15 Jun 2017 02:33:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.78 with HTTP; Thu, 15 Jun 2017 02:33:16 -0700 (PDT) In-Reply-To: <0194b13c-4d68-8e20-b125-6e2f5539e077@fleshgrinder.com> References: <0194b13c-4d68-8e20-b125-6e2f5539e077@fleshgrinder.com> Date: Thu, 15 Jun 2017 11:33:16 +0200 Message-ID: To: Fleshgrinder Cc: php-internals Content-Type: multipart/alternative; boundary="001a113effc6c2a90c0551fc5bb7" Subject: Re: [PHP-DEV] [RFC] [Discussion] Doxygen From: nikita.ppv@gmail.com (Nikita Popov) --001a113effc6c2a90c0551fc5bb7 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 1, 2017 at 9:04 PM, Fleshgrinder wrote: > Hey guys! > > Just finished the very brief Doxygen RFC. Please let me know if you > require more information in it, I feel that it is sufficient as is, > since documenting is not rocket science (writing useful documentation > definitely is, but we cannot vote on that): > > https://wiki.php.net/rfc/doxygen > Hi, What makes me skeptical about this is the PR that started this discussion: https://github.com/php/php-src/pull/2523/files Documentation sounds nice, but that is not the kind of documentation I would like to see or find particularly useful. A useful way to document the arginfo structure is to write some free-form explanation with an overall example, and then describe the individual macros with one sentence each. What we get instead is a 30 line doc comment for each macro, describing it individually and repeating lots of information that is, of course, the same for all arginfo macros. Done consequently, what we end up with is ~400 lines of documentation of arginfo macros, documenting everything meticulously, but very redundantly and not particularly usefully. To the contrary, it is noisy and requires additional maintenance if anything ever changes or is added. Nikita --001a113effc6c2a90c0551fc5bb7--