Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92974 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96132 invoked from network); 30 Apr 2016 09:00:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2016 09:00:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.50 mail-oi0-f50.google.com Received: from [209.85.218.50] ([209.85.218.50:33422] helo=mail-oi0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/05-58459-04474275 for ; Sat, 30 Apr 2016 05:00:48 -0400 Received: by mail-oi0-f50.google.com with SMTP id v145so110147604oie.0 for ; Sat, 30 Apr 2016 02:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=dpUcaLYGVuSKCxhMGdWNLMmgSWgEWciUVREsO6aYmKw=; b=j4QWDbK+dpc8KTKI0QQNZFywlxcsT7a4SzI7E44bAyTf5RnsWgRq5K4OF/pyBd1tG0 /+tYea7KOy41FUZ3DqJFEXGmvX0LxhMPSpvS1H5+NgOX2e409P7/OyM+O8rQ7rwxVIVf 7r2uipK8cglt8uCKPcngS9PsroumKnATP2X7uVZQlPouxOr7YX1bdWvP7XHNITFhUZQq H9mwdGZCbjZwrPuLi6tOIxfl02FyWeI7f+pmDzkwSMUnE3r2VwANerRhxOhSDW+EbkSD LYb4XOGms5DA8KWYw/wMMO6Add+cHb/2la1sm+nM5pUPE24pbdrZVpT3AXPHtBG1BB0h 4LTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=dpUcaLYGVuSKCxhMGdWNLMmgSWgEWciUVREsO6aYmKw=; b=OIe/Dv9OVqHGFGUXVedZiT3k55aXNP1IP3TIWIhntEY4EVOOjiVjZKPtJWsh4R+b+v XTzZfg90vpSqDfT4KhIF/4QKgH5JlPaaibNPdu/sM/yYHHaukYaqmdJfF45i5/fEebAw ECfWHNSYkSIor6PRW/VwBwIBAcIF8jhPh4YKdFpjpjJCSK9v6ikowoGYAliW6huvVPpn AABbveNgdnBlFJzwpDG2Swv9sEAdB+cqsiiieZN5yEsueHFBhZeKzUxtlxMsJbT6ADz5 rU76JutaBmaLofOnR3U++9yTBB5/5MsRpXqbC7sDlMured4H4cBFelFsENXiUNve/z5A ReXQ== X-Gm-Message-State: AOPr4FU8bZXJCruYkpCGqXbYZNr3lTbMOllyZk2ihE3CyUFDwXItTRB2L02Gortw6vNLRKvHMVYTnKd7h89H+g== MIME-Version: 1.0 X-Received: by 10.157.40.9 with SMTP id m9mr11803301otb.23.1462006845690; Sat, 30 Apr 2016 02:00:45 -0700 (PDT) Received: by 10.202.215.193 with HTTP; Sat, 30 Apr 2016 02:00:45 -0700 (PDT) In-Reply-To: <57247266.9050609@lsces.co.uk> References: <5719CDB2.90103@zend.com> <571DCA6A.2070803@zend.com> <571E35D8.8080504@zend.com> <571E4A83.3080304@garfieldtech.com> <571E64A2.2040505@gmail.com> <5720A6B4.4000307@lsces.co.uk> <5721B9DD.3050300@lsces.co.uk> <57231ADD.9040006@lsces.co.uk> <57247266.9050609@lsces.co.uk> Date: Sat, 30 Apr 2016 16:00:45 +0700 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP Attributes -> docBloc alternatives ... From: pierre.php@gmail.com (Pierre Joye) On Sat, Apr 30, 2016 at 3:52 PM, Lester Caine wrote: > On 30/04/16 09:38, Pierre Joye wrote: >>> Sorry if you didn't spend the last 6+ years of your free time >>> > < >> https://github.com/phpDocumentor/phpDocumentor2/commit/66dc9069085dcea957508f84e9c79eaf4c234586 >>> > >>> > (yes, that is an import) maintaining an open-source project focused on >>> > annotations-based documentation. > >> This is not what it does (or I hope it does not). And it makes me sigh to >> read such descriptions. Annotations or attributes are not documentations. >> For the record for this thread :) > > It was the use of the 'standard' defined by phpDocumentor2 to 'define' > php-annotations that trigger my current noise, but while I agree with > you, the information contained in what ever method is used to add > 'attributes' to the 'annotations' also forms a useful part of any > documentation. In my book the two go hand in hand. Which is why I > changed the title of the thread. Annotations/Attributes define new behaviors or properties and is used by whatever will process the annotations/attributes. Indeed they provide a bit more information for the user but this is a side-effect, not a goal. Documentations (docblock fe) is used to generate documentation or is used as inlined doc, by human for human. I understand (that) users can see as similar or same but it is critical to keep in mind that they are not, at all. That would help to design and implement what we need for attributes or annotations support. Cheers, -- Pierre @pierrejoye | http://www.libgd.org