Hi, Guys, there is really no point to argue about aesthetic or taste. Make your point by using +1/-1 and that's it. As said, the trolls quota has been used already.
Thanks for my bandwidth, On Jan 11, 2008 12:12 PM, Max Antonov <[EMAIL PROTECTED]> wrote: > Johannes Schlüter writes: > > > > > The last line is exactly why I won't like such a syntax. Just consider > > the a bit worse call like > > foo([1, $a[2]]); > > I might even construct worse examples, > > is this a good-readable code? > foo (array('a'=2,'b'=>array('x'=>5,'c'=>array(1,4,2)),'n'=>$bar[4])); > what difference in? > foo(['a'=2,'b'=>['x'=>5,'c'=>[1,4,2]],'n'=>$bar[4]]); > > I think - it will be good readable in large projects too. > > Please look to code of ExtJS JavaScript Library - this syntax native in > javascript and it very usable > > (excuse me for my English) > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php