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 Jerry Stuckle on 12/05/06 13:24

Tony Marston wrote:
> "Michael Fesser" <netizen@gmx.de> wrote in message
> news:4ud8n2dcgrj80p0c9dske38l4othi3c631@4ax.com...
>
>>.oO(Jerry Stuckle)
>>
>>
>>>You notice how Tony refuses to answer your question?
>>
>>Yep.
>>
>>
>>>I'm wondering - does the term megalomaniac ring a bell? Or do you think
>>> it's just that he's beyond stoopid?
>>
>>I don't know, but actually I don't really care at all. He has just
>>proven that any attempt to further discuss these things doesn't make
>>sense. He is always right, the rest of the world is wrong.
>
>
> I am not wrong. I have made two simple statements that you cannot disprove:
>
> (a) In PHP interfaces are not necessary.
> (b) Enapsulation does not mean that all variables must be declared private
> or protected.
>
> What's so difficult to understand about that?
>

You're wrong because:

(a) Interfaces, as defined in OO terms (which is what we were
discussing, and PHP is an OO language) are necessary. They are how you
interact with the object, and
(b) Proper encapsulation means that all variables are defined as
private, because the way the data is stored (variable name, data type,
etc.) is a part of the implementation.

And on this every industry-recognized expert agree. It's even how they
teach it in all of the College courses. But of course, they are all
wrong, and only Troll Tony is right.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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