Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45279 invoked by uid 1010); 5 Feb 2007 19:17:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45261 invoked from network); 5 Feb 2007 19:17:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2007 19:17:26 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:37689] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/EB-61367-6C287C54 for ; Mon, 05 Feb 2007 14:17:26 -0500 Received: from [66.228.175.145] (borndress-lm.corp.yahoo.com [66.228.175.145]) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-3) with ESMTP id l15JGjiM014559; Mon, 5 Feb 2007 11:17:18 -0800 In-Reply-To: <45C7807B.1000008@dealnews.com> References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <28139bc0702040319p6a5cffdbi2e5999d7ebf48662@mail.gmail.com> <45C6DCF5.1000102@dealnews.com> <45C7710D.5030205@zend.com> <45C7747B.3070603@dealnews.com> <45C7766D.8050909@zend.com> <45C7807B.1000008@dealnews.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <28737ebc61eb6762701932617d7b1584@gravitonic.com> Content-Transfer-Encoding: 7bit Cc: Stanislav Malyshev , internals@lists.php.net Date: Mon, 5 Feb 2007 11:18:23 -0800 To: Brian Moon X-Mailer: Apple Mail (2.624) X-Virus-Scanned: ClamAV 0.90rc3/2525/Mon Feb 5 08:11:08 2007 on colo X-Virus-Status: Clean Subject: Re: [PHP-DEV] Syntactic improvement to array From: andrei@gravitonic.com (Andrei Zmievski) I don't buy the "searching docs is easier" argument. There are plenty of operators and such that are hard to search for. -Andrei On Feb 5, 2007, at 11:07 AM, Brian Moon wrote: >> If someone is not familiar with the concept of the array at all, it >> doesn't matter if it's written as array(1,2,3) or [1,2,3]. That's not >> what we are discussing right now. > > My point is that if its written array(1,2,3) that have something to > search for in the docs. The new proposed syntax removes that keyword > that a user can use to find the help they need. As I said, back > ticks, as well as ternary, both suffer from this problem. I see no > reason to add another hurdle for new users when there is no clear > advantage to this new syntax. And, IMO, clear means that a majority > of people think its a no brainer. I would say right now we have > nothing of the sort. > > -- > > Brian Moon > ------------- > http://dealnews.com/ > It's good to be cheap =) > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php