Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7592 invoked by uid 1010); 1 Dec 2005 19:16:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7568 invoked from network); 1 Dec 2005 19:16:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2005 19:16:50 -0000 X-Host-Fingerprint: 66.249.82.192 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.192:48096] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D1/34-14828-E1C4F834 for ; Thu, 01 Dec 2005 14:16:47 -0500 Received: by xproxy.gmail.com with SMTP id t10so278750wxc for ; Thu, 01 Dec 2005 11:16:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uNy1fcDi38oIwNyJYtnxDfsHKsyiq3rZLyVKX/F0cLbKtsOK6yyN0jVTVuLkVomuHc0G2Es3eNhjzI4O1szXbvS3ZhyP7F5q2kG+IwEWuS74oiNEVpCUr2ouLuLYPC7E0xNE8QaL7cEG0/0HyzLARkW+Ttqx2pd2tEZVAu4T7Ig= Received: by 10.70.30.13 with SMTP id d13mr2335956wxd; Thu, 01 Dec 2005 11:16:40 -0800 (PST) Received: by 10.70.10.7 with HTTP; Thu, 1 Dec 2005 11:16:40 -0800 (PST) Message-ID: <818043770512011116sbc0ec67of28d801c371fa2c5@mail.gmail.com> Date: Thu, 1 Dec 2005 20:16:40 +0100 Sender: sebastian.kugler@gmail.com To: Jared White Cc: internals@lists.php.net In-Reply-To: <14A191A2-69CF-49C4-B500-A749D7C4B51B@intuitivefuture.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <374c2968dd7f3d13c696037ef850256f@gravitonic.com> <2D.57.14828.3453E834@pb1.pair.com> <23.98.14828.81AAE834@pb1.pair.com> <438F0FC0.5070407@cschneid.com> <14A191A2-69CF-49C4-B500-A749D7C4B51B@intuitivefuture.com> Subject: Re: [PHP-DEV] Named arguments revisited From: sk@webfactory.de (Sebastian Kugler) On 12/1/05, Jared White wrote: > I still say its main selling point is > that the calling code is its own API documentation. why don't you just write something like cycle(/* name: */ "myCycle", /* values: */ "#eeeeee;#d0d0d0", /* print: */ false, /* reset: */ true, /* delimiter: */ ";"); It's just as self-explanatory and you don't have to change the language for it :-) --Sebastian