Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64699 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76685 invoked from network); 8 Jan 2013 20:10:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 20:10:13 -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.215.54 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.54 mail-la0-f54.google.com Received: from [209.85.215.54] ([209.85.215.54:52747] helo=mail-la0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/C1-16636-32D7CE05 for ; Tue, 08 Jan 2013 15:10:12 -0500 Received: by mail-la0-f54.google.com with SMTP id fp12so911137lab.41 for ; Tue, 08 Jan 2013 12:10:08 -0800 (PST) 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:content-type; bh=kc9f9RMxuh5G+jvNhBUQZAsNEaMgY54ih77rqSsS+CU=; b=N6e/R9reJ4Ck5y9dRt5Qw2cbD/qeUIJ54b6eXBSizIKQCeeyGWFDYL+NFIi0BP4p8Z cI4vwYGTNs1zBaZMZWKAzvL9BMdEleuQbpc/gXWtRB9yBXW156MqJBf7lkmxTdjDsOKI VlNCtxIDiQcFhL+PrSMCLXwVqm+gaLTDwEirWO6pQI3J7jfo8boKO6KkxDBjNdib4mN3 L8qlYJMPezFqvjXahbWDizG8HmU0MriVMBo9Ejo5U1mXnwmR2ClX7d2ty/XEydNIhSOK WTAp4cnz72NC6ZIb51Q+oT5th7bHTncTrMLO1HGhEbt5GhtQ1V2lTDh4Sn40UeYfStP8 UiBQ== MIME-Version: 1.0 Received: by 10.152.122.39 with SMTP id lp7mr63072762lab.0.1357675808674; Tue, 08 Jan 2013 12:10:08 -0800 (PST) Received: by 10.112.127.230 with HTTP; Tue, 8 Jan 2013 12:10:08 -0800 (PST) In-Reply-To: <50EC6569.6030202@sugarcrm.com> References: <50EBDEEE.8070605@sugarcrm.com> <50EC6569.6030202@sugarcrm.com> Date: Tue, 8 Jan 2013 21:10:08 +0100 Message-ID: To: Stas Malyshev Cc: Pierrick Charron , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: pierre.php@gmail.com (Pierre Joye) hi Stas, On Tue, Jan 8, 2013 at 7:28 PM, Stas Malyshev wrote: > Hi! > >> I agree, there is a need in this functionality, but all those userland >> implementations were at the first place made because this >> functionality was not part of the language. I think docblocks is not >> the solution, doc blocks are just comments, and I would expect any >> code to work the same way if I remove my comments. > > So you never used PHPUnit and never will in the future, right? Maybe so, > but thousands of other people do, and have no problem with directives in > the comments. I think it is time to lay this red herring to rest - > nobody who had any encounter with any of the most popular PHP tools > really expects it. Everyone I talked to who implemented annotations in docblocks did it as hack because there is no native support. This is not something that belongs to docblocks. It would be nice if you could take a look at the c# doc, there are really good concepts there. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org