Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64797 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72939 invoked from network); 10 Jan 2013 02:52:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2013 02:52:11 -0000 Authentication-Results: pb1.pair.com header.from=sommertm@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=sommertm@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.175 as permitted sender) X-PHP-List-Original-Sender: sommertm@gmail.com X-Host-Fingerprint: 209.85.220.175 mail-vc0-f175.google.com Received: from [209.85.220.175] ([209.85.220.175:48280] helo=mail-vc0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/AF-02684-9DC2EE05 for ; Wed, 09 Jan 2013 21:52:10 -0500 Received: by mail-vc0-f175.google.com with SMTP id fy7so69550vcb.20 for ; Wed, 09 Jan 2013 18:52:06 -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=ISQVJRtEe0S+9a5f+VFooxU5pMHH22RUTou6JwD1a6c=; b=mEMMcXA54xoW8zaoVsmUrG3SIFtvIcCXWzZZjdGFxqs3jwhkFQ8VARYAf1xXWW17DU gLlQ3VlYAVx+ezvjKROaoBQvZbDituGcnzDHrddwLpUOTjZ+SUiHSr9mpIHulQvCXgfj d77riVwX8QxACcGnaL0FroPA0mk52tJGuk6hECN7216TZD3WuizcEC5hx22xo2DWECUJ I4F+vmilRPY6yXzfRDmLi8AJaLYmArH03xfJksZMGrbeooOzD+x2OI3rngI4Z4RcXnng fUxcAPuoAmYmngU7onTGUrdQPKPSjm6htBZoXlqqPQ+pDtwBSXSDoa/WwkEVbg+DX3XR YEdQ== MIME-Version: 1.0 Received: by 10.58.239.162 with SMTP id vt2mr93231260vec.1.1357786326082; Wed, 09 Jan 2013 18:52:06 -0800 (PST) Received: by 10.220.141.132 with HTTP; Wed, 9 Jan 2013 18:52:05 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Jan 2013 18:52:05 -0800 Message-ID: To: Adam Harvey Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bf0ef28a5a64704d2e6431b Subject: Re: [PHP-DEV] Was Reflection annotations reader - We Need A Vision From: sommertm@gmail.com (Tyler Sommer) --047d7bf0ef28a5a64704d2e6431b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Great points, Adam. I disagree with this one feature being excluded but I do agree that just because something is in the userland doesn't necessarily mean it should be in the core-- making my point rather moot. Cheers. On Wed, Jan 9, 2013 at 6:28 PM, Adam Harvey wrote: > On 10 January 2013 10:05, Tyler Sommer wrote: > > Annotations are already a part of PHP. They are widely used in one of t= he > > most prolific frameworks, Symfony, and it's ORM "counterpart" Doctrine. > > To explain what I meant by "PHP", since I think we're arguing > semantics there: I mean php-src specifically, rather than the broader > userland community, since we're on Internals. > > > To say "they shouldn't be part of PHP" is fine, but it's too late for > that. > > Annotations are already here. Are we going to just ignore this fact and > hold > > back what a very significant portion of the community wants to see > because > > it conflicts with some ambiguous master plan for PHP? > > I don't have a master plan (that would be the part of this thread I'm > not touching), but if it's a poorly thought out feature, sure. Pretty > much every major project out there uses a unit testing framework and > ORM: does that mean we should also be including equivalents for > PHPUnit and Doctrine in core? > > Basically, I think the trend towards configuration as behaviour is an > antipattern that results in less readable, harder to debug code. > Having said that, the beauty of our userland being a set of > communities is that each community can make their own decisions =97 > since the good folks behind Doctrine have written an excellent > annotation parser, those who want to go that way can, but it doesn't > mean PHP has to go out of its way to encourage it. > > Or, to put it another way, not everything has to be a language > feature. That way lies Perl. > > Adam > --047d7bf0ef28a5a64704d2e6431b--