You are here: Re: php 5 classes: public, protected and private « PHP Programming Language « IT news, forums, messages
Re: php 5 classes: public, protected and private

Posted by Tony Marston on 12/04/06 11:08

"Michael Fesser" <netizen@gmx.de> wrote in message
news:kio6n2p298torpsfa6umbuhh1ti4veqgi1@4ax.com...
> .oO(Tony Marston)
>
>>I have no opinion on the SPL extension as I have never used it.
>
> No surprise.
>
>>That
>>argument is irrelevant anyway. The point being debated here is whether
>>interfaces in PHP are necessary, and it is my opinion that they are NOT.
>
> So just because you don't use them they are not necessary?
> That perfectly sums it all up and explains a lot.
>
> A last short statement: There are some really convenient new features in
> the OOP handling in PHP 5, which _require_ interfaces. No interfaces, no
> such features. If you haven't used them yet, fine. But that doesn't mean
> that they are not necessary. For many other people who make use of all
> the benefits PHP 5 has to offer they _are_ necessary.

So what you are saying is that interfaces are only necessary if you want to
make use of certain features. This supports my argument that interfaces are
OPTIONAL if you don't want to use those specialised features.

--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация