ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
Re: [PHP-DEV] SUMMARY: Array syntax
by Jeff Griffiths other posts by this author
Jan 11 2008 3:20PM messages near this date
Re: [PHP-DEV] SUMMARY: Array syntax | Re: [PHP-DEV] SUMMARY: Array syntax
Antony Dovgal wrote:
...
>  Well, to me it matters whether the author is going to care of the thing he's 
>  proposing or he's going to disappear right after it's implemented.

I didn't realize there was a section of the code flagged 'syntactic 
sugar' and only a few people maintained that part. it also seems 
ridiculous to debate a syntax *addition* such as this in terms of 
maintainability. Is it really is hard to maintain this patch to the 
parser? How hard is it to maintain this:

$array[] = $foo;

...vs any other part of the codebase?

I think a lot of web developers who use PHP would agree with Rasmus' 
sentiment[1]:

"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."

[1] http://marc.info/?l=php-internals&m=117060700805108&w=2

Jeff

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
johannes
Kouber Saparev
Stanislav Malyshev
Tomi Kaistila
Pierre
Steph Fox
Pierre
johannes
Rasmus Lerdorf
Pierre
Sam Barrow
Stanislav Malyshev
Sam Barrow
Antony Dovgal
Sam Barrow
Richard Lynch
Pierre
Antony Dovgal
Jeff Griffiths
Gregory Beaver
Antony Dovgal
Olivier Hill
Sam Barrow
Marcus Boerger
Pierre
Steph Fox

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved