Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28011 invoked from network); 11 Sep 2010 18:24:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2010 18:24: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; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:53573] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/32-17717-479CB8C4 for ; Sat, 11 Sep 2010 14:24:52 -0400 Received: by wwb39 with SMTP id 39so1976576wwb.11 for ; Sat, 11 Sep 2010 11:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=1HAirYI7IgPAQSyYoDR9nLf4gdgxOtYzHOfr8hyGw/o=; b=jp+rOzEDawHADAoUVfFKnDnCjtE673Y/Ps+OJpZQs0aylBtBteW0fsmrvLc5FGXaz4 Nf1vmgJ2r+HfnUfhcSKBXaR5SzpSuh87bUCj/BKXrpbsi2u9xxhCuB4TPEKrI6et7VrO G8q9jFS+0qATEjsA+c0zXKhb0Pk1vFzgFSFyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=v9fxbN5t3+JQvRRxysCsaHrxsR46DfrilJKCjbGEQBe39OlBaBJZhLm5cANqf/1qZy OW02nxGc9OvT1WE1k+r5wZW5O/jOil0uaUF2XcUFpxPBct6ydkZq5G6W8zZwWPAsvGW2 WHeXWpujEhdbq4AQ0CPvhJJCgO9RU2bvQmogw= MIME-Version: 1.0 Received: by 10.227.195.20 with SMTP id ea20mr815420wbb.151.1284229489195; Sat, 11 Sep 2010 11:24:49 -0700 (PDT) Received: by 10.227.149.220 with HTTP; Sat, 11 Sep 2010 11:24:49 -0700 (PDT) In-Reply-To: <4C8BC81E.8000605@sugarcrm.com> References: <4C873C0F.1010200@zend.com> <4C879613.7090709@zend.com> <4C887D2B.2000605@zend.com> <4C8AC526.7000505@sugarcrm.com> <4C8B6168.30504@mohiva.com> <4C8BC81E.8000605@sugarcrm.com> Date: Sat, 11 Sep 2010 20:24:49 +0200 Message-ID: To: Stas Malyshev Cc: Guilherme Blanco , Christian Kaps , Pierrick Charron , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: pierre.php@gmail.com (Pierre Joye) On Sat, Sep 11, 2010 at 8:19 PM, Stas Malyshev wrote: > Hi! > >> The separator never was a problem... but I definately don't want to >> see another 6 months just to define what would the separator be. >> If we need to drop [] in favor of array support, I vote for ! as >> separator. > > The separator is not a problem (even though 1-char one produces much less > clutter). The cryptic syntax is. It seems that there is a misunderstanding about the goals of the annotations. They are not meant to be read by human being (javadoc/phpdoc/etc. are) but to be parsed automatically to be used for services. In that sense, to have a syntax closed to one of the best (or less worst, if you are on the opposed side ;-) syntax out there (c#/.net) may be a good thing to do, instead of re einventing the php wheel. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org