Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51280 invoked from network); 9 Nov 2009 08:30:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2009 08:30:09 -0000 X-Host-Fingerprint: 95.31.13.88 xdmitri2.static.corbina.ru Received: from [95.31.13.88] ([95.31.13.88:25185] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/AA-22371-E03D7FA4 for ; Mon, 09 Nov 2009 03:30:07 -0500 Message-ID: <9A.AA.22371.E03D7FA4@pb1.pair.com> To: internals@lists.php.net References: <0F.F6.03668.AD206FA4@pb1.pair.com> <10845a340911072344h1187694xf1714dd8b97ac58e@mail.gmail.com> <10845a340911080204q723b3de0rb0eab1e4054a2148@mail.gmail.com> Date: Mon, 9 Nov 2009 11:30:00 +0300 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original X-Posted-By: 95.31.13.88 Subject: Re: [PHP-DEV] Regarding constructions like func()[0] From: dmda@yandex.ru ("jvlad") >> If you care not to waste userland with new names, use namespaces, >> that's the way intruduced by php, and it is not javascript after all. >> >> > > I'm so old school in my coding, I've not got my head around namespaces > yet. I'm just old. > There is nothing really "new" in namespaces. For example the concept of namespaces in c++ was introduced in the beginning of 90s. JavaScript with anonymous functions appeared later, in 95-96. I'm not about whichever came first, just wanted to mention that neither as a feature is new.