Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17125 invoked from network); 5 Jun 2017 18:17:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2017 18:17:04 -0000 Authentication-Results: pb1.pair.com header.from=jgmdev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jgmdev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: jgmdev@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-ua0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:34379] helo=mail-ua0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/D3-27119-F10A5395 for ; Mon, 05 Jun 2017 14:17:04 -0400 Received: by mail-ua0-f178.google.com with SMTP id u10so80672017uaf.1 for ; Mon, 05 Jun 2017 11:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=kwLypQIaz2eswWrAyF3i1NXrvNBkrWlM7QgvHziqW6U=; b=C74WhVVWsDCF4VxWucmI5XuF8g4xG3hFbXpx953a9exxXn0oDZELB7Q4u4qPZH+JeI V/prXMLLv1nZb/JPULUqYeTsKHs4rgnMZYzFx8eROraEtA3Gd5jZ2eq1xIFFzYUcEYpC GLW5PzFN4eXUrpXLiO37+6TjQC6fgJH1SfcemrMNrfCQUwl/xDqEmW5iiJ15yKI0/A47 K14fR52pJK6NEjNhd6Xkpw5dE+KmK7XD6V7vD3zczR+eKXumxoh3rIhoWay0H0oFnnEO lavsTccczVA5ZG0skroKM9SlDHvtlmW13J6l6oUy2hU4Rk5WD0O1+W8ukbp/LGhnmkoe uUpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kwLypQIaz2eswWrAyF3i1NXrvNBkrWlM7QgvHziqW6U=; b=p4EA8V8A0i7z9DkEMPEP2xrLxuZFhY3xCdyPcgvwfKZok7J4VoAKpWAWkhWqWhq+76 yFTzg8prw0cnh3FAKaF4elL4NDXstv7ttOWn93hZ8MW1RGZdsxV0ZQ/j9i+/DlCexJPT KAtg+Yc+wFdNa3sf7SpvK15gYDZ7eA4LXMHJlt48USaipOp/7XkGsnWufbyFnxvkJv/8 9uzLUsrZEm9mPc806uZI3E9vKiyZxkIEsSO+c7npy5bbdQcncS0LlgPo2+fioRAMnNa4 WHxGTWaH9BRTbvWBuUCoexJg6J0tJYU0JlrOrBgy3h76UXmQ4gxaCHThdmjRvc/c3c6/ 2zqQ== X-Gm-Message-State: AODbwcByxWCrQbgRCzRYgVMRM6b/qZg6QUejWZ7adZIResq2F7eVU788 Dx4BqfNO1Ns3583x7Pk= X-Received: by 10.159.38.132 with SMTP id 4mr10358561uay.123.1496686620401; Mon, 05 Jun 2017 11:17:00 -0700 (PDT) Received: from [192.168.1.121] ([24.50.217.112]) by smtp.gmail.com with ESMTPSA id s7sm7916878uaf.5.2017.06.05.11.16.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 11:17:00 -0700 (PDT) To: Fleshgrinder , php-internals References: <2285c219-41be-a66d-00e2-2e80e4ebe2cd@gmail.com> <2b291ce0-7213-df38-a7ef-543a6ff14958@fleshgrinder.com> Message-ID: Date: Mon, 5 Jun 2017 14:16:58 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <2b291ce0-7213-df38-a7ef-543a6ff14958@fleshgrinder.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Documentation (Doxygen) From: jgmdev@gmail.com (Jefferson Gonzalez) On 05/30/2017 02:48 PM, Fleshgrinder wrote: > Nice to see that I'm not the only who thinks that proper documentation > is a good thing. I already mentioned that it is not super important to > me personally to actually generate the docs from the code base. However, > there is also nothing bad about doing so. Outsiders or especially PHP > users might be very interested in us doing so. Basically the advantage of generating documentation from the codebase is that it could help attract more people to contribute into the core. Also it would ease the introductory barrier for those that want to extend PHP with modules. > > That being said, what exactly are the arguments for that interface > directory? Why not simply keep the code as is and document it. Saying > that proper documentation is code pollution is like saying every > successful PHP project is crap, because they are properly documented (or > Java, or Rust, or Boost, or C#, or ...). I do not remember all the details, since this was 5 years ago as I wrote before, but what I do remember is some of the core developers not wanting to saturate the core code with comments, and that the best documentation was reading the actual source. This is why I suggested the idea of creating an additional directory named interface with a mirror of definitions and declarations found in actual include files that could be freely documented until heart is content. And this has worked beautifully for the wxWidgets project.