Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49726 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45232 invoked from network); 16 Sep 2010 19:11:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2010 19:11:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=paul.crovella@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=paul.crovella@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.crovella@gmail.com X-Host-Fingerprint: 209.85.210.42 mail-pz0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:34994] helo=mail-pz0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/2D-15036-DCB629C4 for ; Thu, 16 Sep 2010 15:11:11 -0400 Received: by pzk30 with SMTP id 30so524856pzk.29 for ; Thu, 16 Sep 2010 12:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YyDeQycrernij1RNR1AmehDIroTcLa5AuRnoyh0rXyw=; b=bqfae7n29Mc8Px+PUREcK8hxHWpZ7XLeor6VP/4q94HC+QZ/kRzL82d9HxYP6LeNIT ir60gVavVWp+eE8BSHI2FzdGjpssEnv5yoO2wX+HQ2+UGzsq6DBz7IBX+jshwts9Cf5/ TGf50lf+YMMdg1rqH37TRLCv+j4/9y2mtZOP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=qr2gBeg5lLmKvac38NFiy8dCXGCo0IcPFa1WCLVBdtHv2z23vTRIZPdHgxsFwciz6m P9N9vHUUVIDptxYvvxyERx17CJW0gpLg3/TcByFXEzh+muvCD42fofggMwH4UG5A9syc adCQz9cImdKk9sW+kczT/uqtZuPaqpdYW9qk4= Received: by 10.114.132.17 with SMTP id f17mr3925428wad.223.1284664267408; Thu, 16 Sep 2010 12:11:07 -0700 (PDT) Received: from [171.66.233.3] (hw-crovella-lt.Stanford.EDU [171.66.233.3]) by mx.google.com with ESMTPS id q6sm4932996waj.10.2010.09.16.12.11.05 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 12:11:06 -0700 (PDT) Message-ID: <4C926BC8.8060206@gmail.com> Date: Thu, 16 Sep 2010 12:11:04 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100826 Thunderbird/3.0.7 MIME-Version: 1.0 To: Stas Malyshev CC: Guilherme Blanco , Gustavo Lopes , Derick Rethans , "internals@lists.php.net" 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> <4C926574.8030805@sugarcrm.com> In-Reply-To: <4C926574.8030805@sugarcrm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: paul.crovella@gmail.com (Paul) On 09/16/2010 11:44 AM, Stas Malyshev wrote: > Hi! > >> Again, we should not consider docblock mainly because I think >> adding/removing comments of your code should NEVER modify the overall >> functionality of your application. > > It's a circular argument - "we can't use docblocks because docblocks > shouldn't be used". They are not "comments" if you don't use them as > comments. Overloading comment syntax to modify application functionality is the worst idea I've seen suggested on this list. This beats goto by miles. We would then need a new comment syntax to comment out annotations. Just for annotations. Adding/removing/changing comments suddenly has an impact on functionality. Sometimes. If the comment is really an annotation. Despite it looking exactly like comments have looked for years. "Why's my stuff broke? That stack trace leads me through... a docblock?!? Wait, that comment I updated wasn't really a comment, it just looked like one? Oh hell, that other comment I added got mistaken for an annotation? WTF?" This is supposed to be *less* confusing for people?