Re: Regarding constructions like func()[0]
| From: | jvlad | Date: | Mon, 09 Nov 2009 08:30:00 +0000 |
| Subject: | Re: Regarding constructions like func()[0] | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45977@lists.php.net to get a copy of this message | ||
>> 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.