On Tue, May 31, 2011 at 3:06 PM, Rasmus <ras...@lerdorf.com> wrote:

> Because most of those can't be done without breaking millions of lines
> of code out there. And a couple of people worked on Unicode for years
> and got very little support. That is not a small project. This short
> syntax for arrays is probably the most requested PHP feature right now
> and we have a working patch that doesn't break any existing code so the
> effort involved is minimal. If you have a working patch that solves the
> Unicode issues, by all means, show us.

I agree, it would be a break a lot of code. But I'd rather see some
fundamental changes at that level (call it PHP 6, make it not BC with
PHP 5.x or earlier), and remove the cruft and standardize on some of
the slop.

Shorter array syntax seems like an unnecessary addon, will create more
code confusion (now people have to think of two different ways
something is represented), books will become dated overnight (even
moreso than they are now)

I would help with the Unicode project if I could. I am not sure why it
was so tough, but I imagine people infinitely smarter than I am were
working on it. I saw some automated Unicode testing thing that was
running on a php.net server once and it looked like there was over 70%
coverage at that point. I don't see why it's so hard for PHP to get it
going with all the third party libraries out there which could support
it (and why other languages developed in C or C++ can support it as
well)

I don't mean to get off-topic. PHP is my bread and butter, I have
immense respect for you. It just feels like there's things requested
of the language now that are trying to morph the language into
something else. I see blog posts about "10 things PHP needs to have to
be more like Java" - if you want Java, use Java. Stop trying to extend
PHP to do everything for you. It services the majority of websites on
the net and it has done that for years without that crap - and there
is a reason for that.

Making JSON style arrays seems stupid to me. When I look at a PHP
script I expect PHP syntax. Not stolen pieces from a bunch of other
languages (yes, some of it is that way already, but let's not keep the
trend going please?)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to