Re: Syntactic improvement to array
| From: | Rasmus Lerdorf | Date: | Sun, 04 Feb 2007 16:36:40 +0000 |
| Subject: | Re: Syntactic improvement to array | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27747@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
> it is a bit harder to read and not the php way imo.
The PHP way is to steal and borrow from other languages whenever
possible to produce a syntax that is clear and understandable to people
doing web development.
What is clear and understandable to web developers is a moving target.
As someone mentioned, nobody who does any sort of web development today
can ignore Javascript and they will typically be switching back and
forth between Javascript and PHP every couple of minutes. This is our
target user these days and as such this syntax is appropriate I think.
-Rasmus