Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69560 invoked from network); 26 Jun 2017 06:43:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2017 06:43:08 -0000 Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.213.52 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.213.52 mail-vk0-f52.google.com Received: from [209.85.213.52] ([209.85.213.52:33314] helo=mail-vk0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/CE-12245-8FCA0595 for ; Mon, 26 Jun 2017 02:43:07 -0400 Received: by mail-vk0-f52.google.com with SMTP id r126so27339576vkg.0 for ; Sun, 25 Jun 2017 23:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nRrZaP+uh5WH2X0BWHnrcQUGn6QSjiil75QwHSGYPYo=; b=UaKgwMncw2U5gCfYSdNai516zDtOruPQOw9mdGkVhVaJdpJHYZbCvfrMoCMeP8JXFB /MX47OgXBb2n9damnSYxt94EgxYlidkGmtRKBJzFycHwDfaIX5DJcBgbn6PcYNQYCUha KsvySkSZp+J6CkmgNuY6+8o9dNZNX0afUuWbDylZ5ppCvyg9PJqQaQkvkm2odO1C9RK7 OD5C+eTPAGv6jegfEEmXfoJK4TmnZHFDUBk/xig3Y68IVzF6RNc8HahRN4Mv3ngO05eF bNGUV+x+Wz9Kq3kGerDRadGMBDwBNn+628O6G2vDNzqBdRe6zbGLkN4sYDZH/FQSS/SA wd1A== 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=nRrZaP+uh5WH2X0BWHnrcQUGn6QSjiil75QwHSGYPYo=; b=Hx+AtduUhv6cIVXFV4GbXui6XLJVR5B9G8yDhuKU80zyfz+Z24wDrrDgIWgL8o3M3j 8FK1EXcUoZxNriP696i8AzMOZagg1TedUE+QbfAiHcJQ6dTdAfWTAmc+Vqlj9A6WUoGg OW0i9kAnlwRzNU3t6gsZr91sFR1AMzdJIBxRYkIjqMt0zW/CCi2/5cF69Rds1Uds428F 4S2dN4H6ujdl6w9w30za9hCoy4jtGF3ALdAjmm7wJexntwuOFV6VMnLaHMq82dtlcPAl GOjkJH0o6yFV57IbkKwLmqW2e8bL15hmqTNvtPUgHu2v3vOOeFe6EZrh+QrZqUQHa0CY hxWQ== X-Gm-Message-State: AKS2vOy2wRjgyRMRIykLdrJTu6hQMz4RkPp9WOB7hv0zPbyEtcxO+ekw 03qewXTb5qrq80uqzpRHBQk+B4UeDJ1X X-Received: by 10.31.125.206 with SMTP id y197mr5972600vkc.20.1498459381408; Sun, 25 Jun 2017 23:43:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.55.177 with HTTP; Sun, 25 Jun 2017 23:43:01 -0700 (PDT) X-Originating-IP: [81.143.202.104] In-Reply-To: References: <31e715a7-d129-17f0-b870-52bc1ca1715d@fleshgrinder.com> <76397c50-1bb6-a777-2f72-25a7ed9981dc@fleshgrinder.com> <4f803b88-813d-dacb-db05-248b5e372899@fleshgrinder.com> Date: Mon, 26 Jun 2017 07:43:01 +0100 Message-ID: To: Anatol Belski Cc: Fleshgrinder , php-internals Content-Type: multipart/alternative; boundary="94eb2c14950c23bc7c0552d743b1" Subject: Re: [PHP-DEV] [RFC] [Vote] Doxygen From: pthreads@pthreads.org (Joe Watkins) --94eb2c14950c23bc7c0552d743b1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Morning, I also voted no for similar reasons to Anatol. This is not really a thing that needs a vote, this is a thing that requires the handful of people who are actually able to document ZE to spend considerable time doing so. In addition it requires a commitment from the community of developers to continue to maintain, and introduce inline documentation with new code. Additionally, I'm a little concerned that an RFC that has the potential to touch every single source file has gone to vote with a simple majority. It would seem that we are deciding that new code must be documented in this specific way, to say nothing of the massive task of documenting existing code. That would seem to be a decision that could effect everybody that works on PHP in perpetuity and a simple majority is nothing like a strong enough consensus. Cheers Joe On Sat, Jun 24, 2017 at 10:59 PM, Anatol Belski wrote= : > > > > -----Original Message----- > > From: Fleshgrinder [mailto:php@fleshgrinder.com] > > Sent: Saturday, June 24, 2017 11:34 PM > > To: php-internals ; Anatol Belski > > > > Subject: Re: [PHP-DEV] [RFC] [Vote] Doxygen > > > > On 6/24/2017 11:28 PM, Anatol Belski wrote: > > > I voted no, because it is too short term and I'd see a productivity > > > drop having such an obligation suddenly right in place for 7.2. To > > > implement the change, there's more than just to put the doc into the > > > source. Every piece of code needs to be revisited by someone who > > > understands it. > > > > > > I'm not saying the current situation is better than the aim, but to b= e > > > realistic - the change needs a culture to be developed. It is clear, > > > that some know doxygen, but I believe maintaining the doc will be > > > still a huge effort for many contributors. If some patch were in plac= e > > > - at least one would have a source for learning by watching, so it > > > would reduce the learn hurdle =F0=9F=98=8A Without being familiar wit= h Doxygen > > > the actual productivity will for sure suffer. > > > > > > Neither there's a patch covering at least the very core, nor there's = a > > > strategy for the transition period. I can imagine, that even if the > > > RFC is voted positive, many contributors not familiar with doxygen > > > won't have time to complete the doc part. The intention good, but the > > > assertion might be hard. I might be wrong, but ATM I think the > > > intention is good, whereby the RFC implementation owes IMHO some > > > elaborated strategy. > > > > > > Regards > > > > > > Anatol > > > > > > > We are only voting that we want to use Doxygen for documentation as a > > format, not that documentation is a must for PRs or anything. From the > RFC: > > > > > This RFC does not propose any big documentation fest where developmen= t > > > is halted and everybody starts writing documentation. Rather to start > > > documenting in the future, as well as while refactoring or rewriting > > > existing code. > > > > Hence, it would be nice to write a little while one is working on > something > > anyways. > > > > There is no must to document! > > > Ok, that was my very concern. Documenting the existing code would also > need profound reviews. > > > There is a must that IF you document, that it must use Doxygen. > > > > That's what we are voting on. Everybody has plenty of time to get > acquainted > > with Doxygen and we can create follow-up RFCs with clearer rules on how > to > > document (if need be). > > > I'd still see an issue, the formulation is a bit slack. If I don't have > to, probably I'd spare 10 minutes I'd have to spend, because a bug > investigation or implementation would take a triple time or more. Dependi= ng > on what it takes for me personally in the sum, it could be at least 1 hou= r > a week, most even 8 hours in a week, that's huge. I'd still say, it needs= a > strategy and the community says it's a must. Otherwise, the doc might com= e > not from a person who implements or understands it. Or - the doc would on= ly > reflect function signatures, which are anyway browsable with lxr, by grep > directly, or the code can be studied from the source. > > Thanks > > Anatol > > --94eb2c14950c23bc7c0552d743b1--