Stas Malyshev wrote:
I really do not want to have a semantic discussion here.
>
>This syntax is sexy, allows us to clean our APIs, and is amazingly handy.
I'm sorry, but I can't understand how we can seriously consider making
object call syntax mean two entirely different things, create
pseudo-objects that look like objects in some situations, but not other
situation and generally make a huge mess out of whole object model -
because "-> is sexy". Is this really a level we want to have in the
discussion?

And no, it does not "allow us to clean our APIs" - I again point out
using -> has nothing to do with cleaning APIs. Repeating "clean APIs"
as if it is some magic spell will not make false statement true, and the
statement that using -> somehow cleans up APIs is false. Cleaning APIs
and pseudo-objects are two completely different things, and nobody yet
shown any relationship between the two.

>The reasons why it is not yet implemented have been listed here, only
>a matter of time:)
IMHO the reason it's not implemented is because it makes very little
sense, and only reason I've seen so far to do it is "because it's sexy".
Come on.

Seconded ...
ArrayObject class is available if you want the 'sexy' way of doing things but that adds nothing of use to the debate? My suggestion that the same is done for mbstring seems to have fallen on deaf ears, but both of these would answer some of the requests without affecting the core?

The current debate seems to be one of 'php is crap lets rewrite all of it', but how much of the worlds online infrastructure is currently running using PHP and in a lot of cases PHP4? We have compiled forks with different syntaxes if people want to go that way, and yes we can stay with old versions, but we need reliable security maintenance on some legacy base.

Please can we keep a 'legacy' version of PHP stable at some point in time ... And let SonofPHP be forked off if that is what people want.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk



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

Reply via email to