Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50264 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5932 invoked from network); 16 Nov 2010 17:55:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2010 17:55:32 -0000 Authentication-Results: pb1.pair.com header.from=chadfulton@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chadfulton@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chadfulton@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:44832] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/B2-25421-395C2EC4 for ; Tue, 16 Nov 2010 12:55:32 -0500 Received: by iwn41 with SMTP id 41so1167435iwn.29 for ; Tue, 16 Nov 2010 09:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=m+pT2ZZ6i4eJWgTExRsPUKFML4/OUtO5zgsWOsChWI0=; b=rvOjvYUkhqvGC8eFVg3TfQ+ST7YKzayjHlhrBq/gVIzTRBMinfwcHQVToagZmr29/B ca/h/SlH7p+K3rBix02uU7/IiXiV5HAVf2UShA12S6qo/1icuBF+zdOHrcmIv8q7sQc6 m1Ez2iGvkzm6VI3bljk77dEfsDNLoS9RfwQZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aDnWOTFN/J0OKB2zFbcBIgHEMUFNz7LjWH8t8IySDGmTYphnYwcGVHi4a0ohSYWIro dKYkkPCKgtpRjH/M7xH6wtZUaqNWLCYUJE+Ud7dhzuDRQ2noDLyTn3eoubHBy46Nnymz Is7motxkHI0Y05GgbKSPPUXp4+Sp52NsPR4dw= Received: by 10.231.10.198 with SMTP id q6mr5824870ibq.92.1289930126888; Tue, 16 Nov 2010 09:55:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.79.6 with HTTP; Tue, 16 Nov 2010 09:55:05 -0800 (PST) In-Reply-To: References: <4CE28F49.9000700@toolpark.com> Date: Tue, 16 Nov 2010 09:55:05 -0800 Message-ID: To: "guilhermeblanco@gmail.com" Cc: Lars Schultz , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion From: chadfulton@gmail.com (Chad Fulton) I understand where you're coming from, and I appreciate the effort you've put into this RFC so far, but what I meant is that (although I don't have karma and won't be voting), *if* I were to vote, I would only +1 annotations if they were extremely limited (key=3D>value pairs). That's why implementation matters to me - I see the benefit of simple meta-data retrieval but not an extensive syntax addition to the language. I also think that's why you see people suggesting docblock, because what it already offers is similar to this key=3D>value metadata retrieval using the @tag syntax. Really, people are saying they favor some meta-data retrieval but not the complicated annotations that you want. This is why I think you cannot have a vote on annotations in general. On Tue, Nov 16, 2010 at 9:47 AM, guilhermeblanco@gmail.com wrote: > @Chad: You're getting me wrong here. > > If results of poll decide for OK to meta attribute support, next poll > would be which implementation to choose. > I can find 3 different implementations that we can choose, but anyone > is free to contribute. > > - Docblock > > /** @Foo */ > class User { ... } > > - New syntax similar to first patch > > [Foo] > class User { ... } > > - A keyword scope similar to method/namespace declaration > > annotate { return new Foo(); } > class User { ... } > > But before even spend time talking over and over about implementation, > I wanna ask if we should invest time into it, since I got a lot of > flaming responses (and I still continue, even though people barely see > what I'm asking). > > If you say that we should enhance docblock to allow retrieve of @foo, > you're automatically saying +1 to this thread. > I do not want to enter in discussion about implementation because I > don't even know if it will be accepted. I don't want to spend a lot of > time to produce a patch to something that will not be accepted. So > let's decide IF and possibly WHAT to implement, then I can work on it. > > All I want is a democratic decision, and not something that one guy > answer as "NO" and end of story. > If majority says "YES", one person being against it doesn't sound to > me like a democracy/meritocracy. > > > Cheers, > > On Tue, Nov 16, 2010 at 3:37 PM, Chad Fulton wrote= : >> On Tue, Nov 16, 2010 at 6:03 AM, Lars Schultz wrote: >>> Hi, >>> >>> I certainly don't have PHP-Karma (Does meritocracy really refer to that= ?), >>> but simply I can't believe that you're talking about this, again. >>> >>> I think Annotation-Supporters have made their point, but shouldn't they= let >>> the PHP 5.4 Developers get on with it and let them roll out a new versi= on >>> instead of forcing them to reply to lengthy emails about the same topic= over >>> and over again. One could almost believe that you're hoping to drown th= eir >>> voices by frustrating them into not replying anymore, therefore winning= your >>> vote. >>> >>> cheers. >>> Lars >>> >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> ^ I agree. >> >> ---- >> >> I also don't think you can discuss annotations without simultaneously >> discussing their implementation. To me, it looks like you're trying to >> force through a vote on a very vague topic "should PHP support >> Annotations", and then use that vote later to force through an >> implementation that many core people have already said is not >> desirable. >> >> Many of the arguments that are central to the question of "should PHP >> support Annotations" MUST deal with their implementation because they >> add a large new set of syntax to the language. >> >> I doubt anyone would support annotations "at any cost", and yet that's >> the vote you're trying to force here. >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > Guilherme Blanco > Mobile: +55 (16) 9215-8480 > MSN: guilhermeblanco@hotmail.com > S=E3o Paulo - SP/Brazil >