You are here: Re: Namespaces? Why? « PHP Programming Language « IT news, forums, messages
Re: Namespaces? Why?

Posted by Steve on 09/27/07 21:41

"RageARC" <ragearc@gmail.com> wrote in message
news:1190928786.269812.158460@57g2000hsv.googlegroups.com...
>> namespaces are
>> invaluable, if you know what they are and how to use them.
>
> Of course, that's what I've been asking since my first post :S.

i know, i know...but with your last post re. collision, i think you
understand their primary function. now, it's understanding when using them
will aid your development. i'd google the web, were i you. i'm not gunna
burn up my keyboard here over that part of the quandry. ;^)

>> that is a primary benefit of a namespace, but certainly not the only one.
>
> Call me a hard headed guy, but that's the only one I saw from the
> posts I received from here:

again, i defer to google. you'll get it.

>>> What is it useful for?
>>
>> Preventing name collisions. Say, you need to use two third-party
>> libraries, and each of them contains a function named authenticate().

cheers

 

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

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