Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50091 invoked by uid 1010); 25 Apr 2005 15:06:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50054 invoked from network); 25 Apr 2005 15:06:14 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 25 Apr 2005 15:06:14 -0000 X-Host-Fingerprint: 64.233.170.203 rproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.170.203:2864] helo=rproxy.gmail.com) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id AF/E9-22714-2670D624 for ; Mon, 25 Apr 2005 11:06:10 -0400 Received: by rproxy.gmail.com with SMTP id b11so1004342rne for ; Mon, 25 Apr 2005 08:06:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aQvAomTvBWzAdkaCQop3afXe0ycqmMOpmsH3DJnTmu+1C6x5gps5ZGTSYN5Mx0nCNyGBTKDkDeQ49aEOCCYFyB8mmE0aoQswnzHvXCX9h+5T+v6gl8itiqzXYcgPyA6+b6LRAq8h4XDroIRae+JTRn+HVcw0I/eiDxQqQef+Eas= Received: by 10.38.86.49 with SMTP id j49mr4024403rnb; Mon, 25 Apr 2005 08:06:01 -0700 (PDT) Received: by 10.38.9.78 with HTTP; Mon, 25 Apr 2005 08:06:01 -0700 (PDT) Message-ID: <3c4c8fa605042508062981e968@mail.gmail.com> Date: Mon, 25 Apr 2005 22:06:01 +0700 Reply-To: garbageman@gauldong.net To: Duncan McIntyre Cc: internals@lists.php.net In-Reply-To: <200504251330.27509.duncan@calligram.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200504251330.27509.duncan@calligram.co.uk> Subject: Re: [PHP-DEV] Re: Attributes support proposal From: gauldong@gmail.com (Hendy Irawan) > http://www.calligram.co.uk/oss/Attributes Whew Duncan! That's *VERY* nice. Anyways... Annotations (structured comments) vs. Attributes? Here's my take: Since annotations are comments, you can remove them without modifying behavior. However, attributes are actually *needed* since they are part of the code. If you remove the attributes, you're changing behavior. phpDoc comments are... comments! You can remove all comments in your code and your script will run just as well when they did have comments. So, IMHO, attributes !=3D annotations. They're two different beasts, for different purposes. --=20 Hendy Irawan http://www.gauldong.net http://dev.gauldong.net