yes, the language has warts, what is your point?

On Jun 23, 2012, at June 23, 201212:20 AM, Jorge wrote:

> Object.create(null) objects are real JS objects and act like real JS objects.
> 
> On Jun 23, 2012, at 2:04 AM, Mikeal Rogers wrote:
> 
>> process.env should be a real js object, or at least act like one.
>> 
>> if we have to i'd say we make process.env a getter and build a real js 
>> object from the C++ stub that is currently there.
>> 
>> people should not be expected to know or distinguish between normal js 
>> objects and crazy things from C++.
>> 
>> -Mikeal
>> 
>> On Jun 22, 2012, at June 22, 20124:58 PM, Ben Noordhuis wrote:
>> 
>>> On Fri, Jun 22, 2012 at 7:22 PM, Bert Belder <[email protected]> wrote:
>>>> 
>>>> 
>>>> On Friday, June 22, 2012 6:27:49 PM UTC+2, Ben Noordhuis wrote:
>>>>> 
>>>>> `process.env` is not a real JS object. it's a stub for a chunk of C++
>>>>> code. But by all means file an issue if you feel strongly about this,
>>>>> we can probably fix it.
>>>> 
>>>> 
>>>> I don't agree. People shouldn't rely on prototype methods of objects that
>>>> are used as hash tables. Same story for the http headers object, parsed
>>>> querystring arguments etc.
>>> 
>>> Apparently Bert feels strongly about this. :-)
>>> 
>>> -- 
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines: 
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>> 
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to