On 8/13/07, Larry Garfield <[EMAIL PROTECTED]> wrote:
> On Monday 13 August 2007, Tijnema wrote:
> > On 8/13/07, Keryx Web <[EMAIL PROTECTED]> wrote:
> > > Stanislav Malyshev skrev:
> > > > And they, btw, are not ashamed of calling it namespaces just because
> > > > it's not c++ ;)
> > >
> > > Exactly. That was my main point. And, as I said,ECMAScript 4 will most
> > > probably be the main other language for most ordinary PHP developers,
> > > not Java and certainly not C. Especially the newbie ones!
> > >
> > >  From a pedagogic point of view I'd say "namespaces" is the better name.
> > >
> > >
> > > Lars Gunther
> >
> > Uhh, ECMAScript??
>
> ECMAScript is the formal name for what most people call Javascript.
> Technically Javascript is the Mozilla implementation of ECMAScript and
> JScript is the MS implementation.  70% of the world just calls
> it "Javascript", and 29% calls it "Ajax" because they don't know any
> better. :-)

Thanks for the explanation ;-)
>
> I believe the original point is that for most PHP programmers their other main
> languages will be Javascript and SQL, not C++ or C#, so if the goal is to use
> a name that's predictable for someone coming from another language we should
> assume Javascript as that other language, not Java or C#.
>
> --
> Larry Garfield                  AIM: LOLG42
> [EMAIL PROTECTED]          ICQ: 6817012
>
There's also a quite large group that is coming from ASP.NET right?
ASP.NET has C#-style namespaces, and that will get a lot of confusion
I think.
And for uers coming from perl, there's a perl extensions that enables
C++-style namespaces, and that's also different.

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.

Tijnema
-- 
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to