Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74699 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13656 invoked from network); 2 Jun 2014 14:56:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2014 14:56:39 -0000 Authentication-Results: pb1.pair.com header.from=bryan@ravensight.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=bryan@ravensight.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ravensight.org from 209.85.223.179 cause and error) X-PHP-List-Original-Sender: bryan@ravensight.org X-Host-Fingerprint: 209.85.223.179 mail-ie0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:61266] helo=mail-ie0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/10-12085-6A09C835 for ; Mon, 02 Jun 2014 10:56:39 -0400 Received: by mail-ie0-f179.google.com with SMTP id rd18so4405289iec.24 for ; Mon, 02 Jun 2014 07:56:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=rf+ImzzdHhzQlTjmr8Eppe6+rt0vGUc1lIvLTCA+ox0=; b=ZMHqTW2xVHPq1LmNGdb6MNo6W3aH3sLE41+rSTbq3RrsdyMwKWy1igI8b2E23K4ANK WlS7f2guXhvdM5MSDYOG6vPBpnnaZ5o3VurkNwDwneqQZNNRBF1puHPGMHdtuC1lFc7P HBGYQ6iUTbMflx4L9lwDraGGLsbYX90D+Zd4g/eKmfGubvjVYk1ig7RuAp+36hXGEFwc VjMwR3o5EFCrOFbDC52hnKpnMSk10WpnOfTb7+YXohWGieWQfuO2F8y9ywJTuPb7kZPd R9ILMF7Xjum0QKrqF9PlOppgtvOp1xreSOWSPwxGuqbaaa0R6OQOG7KqO18HrZ1Sqvqw cwPQ== X-Gm-Message-State: ALoCoQkC910SaD7z2Sn/tKffPqbU6VhpJVunpnRZZJEafIuZIzWv+T/RGVO2zLLAzUcKWdRbs4OG X-Received: by 10.50.114.194 with SMTP id ji2mr19896997igb.21.1401720995943; Mon, 02 Jun 2014 07:56:35 -0700 (PDT) Received: from Genie (108-202-93-53.lightspeed.mssnks.sbcglobal.net. [108.202.93.53]) by mx.google.com with ESMTPSA id mj5sm2777951igb.6.2014.06.02.07.56.34 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Jun 2014 07:56:35 -0700 (PDT) To: "'Andrea Faulds'" , "'PHP internals'" References: <6E3D6B3F-1BD6-42A2-B59C-12B9D6D597ED@ajf.me> In-Reply-To: <6E3D6B3F-1BD6-42A2-B59C-12B9D6D597ED@ajf.me> Date: Mon, 2 Jun 2014 09:56:34 -0500 Message-ID: <001f01cf7e72$d94e1ba0$8bea52e0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac99w0n2kfYFI2LcQUyCDWRIxqhKZQArjdEQ Content-Language: en-us Subject: RE: [PHP-DEV] [RFC] Bare Name Array From: bryan@ravensight.org ("Bryan C. Geraghty") I don't like it because I think it reduces the readability of array definitions too much. My preference is syntax that makes it easy for me to convey the meaning of my code to YOU, at a glance. In general, this means consistency. Typing a couple of extra characters for the sake of readability is perfectly reasonable to me. As far as the, "we did that, so we should do this" argument I've been seeing a lot: Your feature should stand on its own within the ENTIRE context of the language. Many mistakes have been made in the lifetime of PHP. Don't point at any one feature and say that it's a good reason to include this feature. Bryan