Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5404 invoked from network); 8 Jan 2013 22:42:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 22:42:52 -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.217.179 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.179 mail-lb0-f179.google.com Received: from [209.85.217.179] ([209.85.217.179:46213] helo=mail-lb0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/87-16636-AE0ACE05 for ; Tue, 08 Jan 2013 17:42:51 -0500 Received: by mail-lb0-f179.google.com with SMTP id gm13so784561lbb.10 for ; Tue, 08 Jan 2013 14:42:47 -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=Lc01yPnJb707Wu+Wz+GOyAT//j1qB3U4Jr8Vumx7X58=; b=qdKS2IVwli+pq3GIQjvCCkPElu0+OnFSfhgRPk8RBgNuYXuK+4Tj7jTQAbXy/YeREd HbvmaRpKhh26WRvo6MvJwaUdfTlFvq0xjPRNNZdWgCyty5iKFCno0n0rM3BhDRUiyCQ2 AdB7dtHLkSAWE+AJdZVCEmxVbIFguMbTNh9PSQdsMRNzV1WbYo1xzCdOf0oOZ/Uzt+pt ds0XcQtAMSL/DzP5FXWz8+pqRlJe1FRmwLCcM5n7+JDQqZKxG1ty9tII1GNnRnaxEK1l AIqPJ3/5lniO52GXYtnSmNlcz48hU0TTO6NxUDK9oRif+7RqVGNiS6G76ZbWrvmt2OLL eD1A== MIME-Version: 1.0 Received: by 10.112.44.161 with SMTP id f1mr26488268lbm.29.1357684967176; Tue, 08 Jan 2013 14:42:47 -0800 (PST) Received: by 10.112.127.230 with HTTP; Tue, 8 Jan 2013 14:42:46 -0800 (PST) In-Reply-To: <50EC917C.3070805@sugarcrm.com> References: <50EBDEEE.8070605@sugarcrm.com> <50EC6569.6030202@sugarcrm.com> <50EC917C.3070805@sugarcrm.com> Date: Tue, 8 Jan 2013 23:42:46 +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) On Tue, Jan 8, 2013 at 10:37 PM, Stas Malyshev wrote: > Hi! > >> 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. > > I know why they did it, and we already discussed that stuff in the last > annotation discussion. What I mean here is that presenting it as if the > notion of meaningful comments is completely unheard of in PHP and nobody > expects it is just wrong. Maybe it was so years ago, but it is > definitely not true now - de-facto meaningful comments *are* the > standard now, and have a lot of use, and nobody with any experience is > surprised by them. Regardless of *why* is it so, it is a fact. Just like any feature not implemented and created using php scripts. That does not mean we have to use the same hacks to provide native annotations support. Really not. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org