Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]
| From: | Keryx Web | Date: | Mon, 13 Aug 2007 18:28:36 +0000 |
| Subject: | Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages] | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31552@lists.php.net to get a copy of this message | ||
Tijnema skrev:
Since JavaScript (or ECMAScript) doesn't have namespaces, people that hear the name namespace for php will either don't know what it is, or think that it's the same as the C implementation.ECMAScript 3 aka JavaScript 1.x does not have NS. ECMAScript 4 aka JavaScript 2 will have NS. Why do I think that most newbies - for whom the naem we use care the most! - will not come from C++, C#, Java or anything else. Because having taught PHP to newbies for quite some time now I clearly see that PHP is their first or second language, and the other one is JS. "I wan to make a web page" Off to learn HTML and (in a good world standards and CSS) "I want to have a contact form/discussion board/news/blog" Tada! Enter PHP! "I want some cool animation". Enter JavaScript. In a good world they will be taught secure PHP programming, unobtrusive DOM-scripting, etc. Mostly they won't, but the name "namespace" makes a lot more sense in trying to explain the purpose, and would make my job easier. Lars Gunther