Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85769 invoked from network); 8 Jan 2013 20:52:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 20:52:41 -0000 Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 209.85.212.180 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:33953] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/A3-16636-7178CE05 for ; Tue, 08 Jan 2013 15:52:40 -0500 Received: by mail-wi0-f180.google.com with SMTP id hj13so87410wib.13 for ; Tue, 08 Jan 2013 12:52:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=bsK5XGKvUKFa/MQbRLzWh/4aGVvrA8IemlvMQIhZubk=; b=jc7OO9rO9ECCcF0PqU8IwkvWW9p/yYNauX7bsyQ08r3BL/ai6c1BM7PwtgUZvzWPli +lpKhiLUOwekMynbTE5xFQP/1Fn3gQw19QW6tuD5h/194NrS/a827mHma8PeassfeqQx vAWkx0UcODeIWtjyBAKd1Xq4iRPa+vBPrSe5n0pWLfVsisdn+3Vej1HXjwQfZKJpKurl l7OiLYuSTUB7DfmQIOmHOtoMC9bGBZ/6qIiR3qlUgAMsGWfgerBKxXup4HX9kSUsfMFM k7rcifNJn3E4VfQrx9QL7gi+M1y2iX7nKOpd9T+fEodgtl6kZMtK7G00XPGREsjst2F3 DNPg== MIME-Version: 1.0 X-Received: by 10.180.102.170 with SMTP id fp10mr12704748wib.13.1357678356024; Tue, 08 Jan 2013 12:52:36 -0800 (PST) Received: by 10.194.59.36 with HTTP; Tue, 8 Jan 2013 12:52:35 -0800 (PST) X-Originating-IP: [77.13.202.63] In-Reply-To: References: <50EBDEEE.8070605@sugarcrm.com> Date: Tue, 8 Jan 2013 21:52:35 +0100 Message-ID: To: Pierrick Charron Cc: Stas Malyshev , Rasmus Schultz , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d04448085214e7804d2cd2044 X-Gm-Message-State: ALoCoQnIoAloZG77wZD2DHJ3u5yXdibwy685LU1X5GMSrxlMI3x9Ph2nGhdzaSayv2e12yG2OUvJ Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: kontakt@beberlei.de (Benjamin Eberlei) --f46d04448085214e7804d2cd2044 Content-Type: text/plain; charset=ISO-8859-1 I agree with this very much. In Doctrine we used Docblocks only because its the only means of implementing something that closely resembles native annotation support. I would be happy if we would have a Docblock parser in SPL, so that all libraries can agree on using its syntax, however ultimately its just missing the point that language level annotations would still be very handy. greetings, Benjamin On Tue, Jan 8, 2013 at 2:46 PM, Pierrick Charron wrote: > On 8 January 2013 03:55, Stas Malyshev wrote: > > On the contrary, plenty of implementations means there's a need in this > > functionality, and it might be a good idea to have one standard > > implementation if it can cover like 80% of use cases. > > 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. > > Pierrick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d04448085214e7804d2cd2044--