Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52159 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73081 invoked from network); 9 May 2011 17:22:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2011 17:22:08 -0000 X-Host-Fingerprint: 208.107.178.23 host-23-178-107-208.midco.net Date: Mon, 09 May 2011 13:22:07 -0400 Received: from [208.107.178.23] ([208.107.178.23:21556] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/6B-20726-FB228CD4 for ; Mon, 09 May 2011 13:22:07 -0400 Message-ID: To: internals@lists.php.net References: <4DC729EE.9090600@sugarcrm.com> <4DC75FFF.40008@lerdorf.com> <4DC7A7F0.4000504@sugarcrm.com> <4DC819D0.5010008@lerdorf.com> User-Agent: slrn/pre1.0.0-18 (Linux) X-Posted-By: 208.107.178.23 Subject: Re: [PHP-DEV] 5.4 again From: weierophinney@php.net (Matthew Weier O'Phinney) On 2011-05-09, Marcelo Gornstein wrote: > regarding the annotations stuff: it seems the php community (in > general) really wants annotations. lots of important and widely used > frameworks use them (meaning that not only the plain php users have a > use for this feature, but also the users of the respective frameworks, > increasing the overall user number interested). i.e: doctrine, > symfony2, ding, phpunit, etc, etc. we cant just ignore this fact. There are annotations, and annotations. Some folks are perfectly fine with ad-hoc annotations support possible by parsing docblocks (Sebastian B. has mentioned as much in relation to PHPUnit). Others are wanting what is essentially a new, parsable, syntax on top of PHP. Others are interested in this latter, but feel that a userland parser that uses code generation to produce executable PHP code is sufficient. The point is, there's still debate about whether the feature as proposed is needed, and, if so, the full scope of features required to support it, and what implications those have for the language. > also, this means that there are tons of custom annotations > implementations (almost one per framework that has a use for them), > and we end up duplicating code and slowing the overall performance > for applications. > > my question is: is php a language made for the php developers that > mantain the language or for the community that uses them and > contributes to it everyday? > > just a thought > > On Mon, May 9, 2011 at 1:44 PM, Rasmus Lerdorf wrote: >> On 05/09/2011 07:44 AM, guilhermeblanco@gmail.com wrote: >>> >>> - Annotations >>> >>> I already proposed a patch and none here discussed. You rather >>> preferred to shout "PHP doesn't need Annotations" instead of discuss >>> the patch that was proposed. >> >> If someone doesn't agree that annotations belong in PHP why do the details >> of the patch matter? >> >>> PS: I think that internals mailing list should be revised with all >>> proposed ideas and wrap them on a better plan. >>> It seems to me that you are not interested on user's request and >>> rather accept/implement only what the features that interest you. It's >>> very bad for the language and very bad for all of users. >> >> That's simply not true. But just because one group of users feel strongly >> about something doesn't mean it should go in. There has to be some level of >> curation or we end up with every feature under the sun resulting in a huge >> mess. >> >> -Rasmus >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > -- Matthew Weier O'Phinney Project Lead | matthew@zend.com Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc