RE: [PHP-DEV] [RFC] Bare Name Array

From: Date: Mon, 02 Jun 2014 14:56:34 +0000
Subject: RE: [PHP-DEV] [RFC] Bare Name Array
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74699@lists.php.net to get a copy of this message
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

« previous php.internals (#74699) next »