Jochem Maas wrote:
> Roman Ivanov wrote:
>
>> Greg Donald wrote:
>>
>>> Maybe Zend will get it right where all the previous attempts I've
>>> seen/used are less than great.
>>
>>
>>
>> Personally, I would start creation of PHP framework by cleaning up PHP
>> sytax. It's freakin' impossible to make complex OOP clean:
>
>
> there is plenty wrong with php, but none of your comments are
> even vaguely relevant.
>
> btw you can 'clean up the syntax' - just don't expect it
> to ever make it into the official build.
This comment is irrelevant. If I can install recompiled PHP on the
machine, than I can install any other scripting engine with less hustle.
>> $this->output(array('dir', 'template'), &new BlaBla($this->bla));
>
>
> this is supposed to prove what exactly?
Examples illustrate, they do not have to prove anything.
> apart from the fact that OO in
> php is not something you are very familiar with for starters if you
> want to do OO in php these days you should be using php5 (assuming you
> don't have a mountain of existing php4 OO code you have to work with -
> if you do then moaning about syntax is completely pointless... php4 is
> is 'bugfix only')
This whole paragraph amounts to "OMG, you're lame, so STFU". It has
nothing to do with issues of PHP syntax.
> the '&' sign for passing objects around in php5 is unnecessary because
> objects are always passed around as references.
Fair enough.
$this->output(array('dir', 'template'), new BlaBla($this->bla));
So PHP 5 eliminates 1 (one) character from _this particular example_.
> and if you really know that you
> need a reference to a reference you skill level should at the very least
> be such that 'freakin' impossible' is not relevant at all.
Another personal attack, plus you take my words out of context. The
original statement was: "It's freakin' impossible to make complex OOP
clean". You did not disprove it in any way.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php