You are here: Re: Why there's no namespace keyword in php5? « PHP Programming Language « IT news, forums, messages
Re: Why there's no namespace keyword in php5?

Posted by Tony Marston on 12/08/13 11:29

"Yarco" <yarco.w@gmail.com> wrote in message
news:1128921308.287536.206170@g44g2000cwa.googlegroups.com...
> Why? I think namespace is a good method to seperate classes.

Giving each class a different name is usually good enough. If you have
classes with identical names from different 3rd party suppliers then keep
them in different directories. Personally I cannot see what all the fuss
with namespaces is about. I have been programming for 30 years with a
variety of 2nd, 3rd and 4th generation languages and I have never used
namespaces.

Perhaps that is the only solution you have been taught, but it is certainly
not the only solution out there.

--
Tony Marston

http://www.tonymarston.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

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