|
Posted by Jochem Maas on 11/22/05 18:24
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->output(array('dir', 'template'), &new BlaBla($this->bla));
this is supposed to prove what exactly? 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')
the '&' sign for passing objects around in php5 is unnecessary because objects
are always passed around as references. 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.
>
Navigation:
[Reply to this message]
|