Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 477 invoked from network); 13 Sep 2010 15:29:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2010 15:29:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:43914] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/F1-24501-3434E8C4 for ; Mon, 13 Sep 2010 11:29:09 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id A601A504EE; Mon, 13 Sep 2010 17:27:03 +0200 (IST) Received: from LAP-ZEEV.zend.com ([10.1.2.26]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 Sep 2010 17:29:03 +0200 Message-ID: <7.0.1.0.2.20100913172559.0d2277d0@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 13 Sep 2010 17:28:47 +0200 To: Pierre Joye Cc: Stas Malyshev , Guilherme Blanco , Christian Kaps , Pierrick Charron , "internals@lists.php.net" In-Reply-To: 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> <7.0.1.0.2.20100913145703.0d226d90@zend.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 13 Sep 2010 15:29:03.0275 (UTC) FILETIME=[6558FFB0:01CB5358] Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: zeev@zend.com (Zeev Suraski) At 16:39 13/09/2010, Pierre Joye wrote: >You are not serioulsy suggesting to use phpdoc for runtime annotation >support? Are you? I actually am (either that or get what you want done in some other way). It's a rare enough use case that I think it's a very reasonable compromise. The disadvantages of adding a whole new branch of syntax, for this rare use case, far outweigh its advantages - IMHO. >Besides that, did you look at the other languages annotation support >and how and why they are used? I have but I think we've hashed this many times in the past - PHP is PHP, not C# or Java. There's a serious cost in complexity with every new feature we add - especially a complicated syntax-rich feature like that - which I believe we all too often fail to factor into our discussions. Zeev