On 24/06/2012, at 00:43, Mikeal Rogers wrote: > > On Jun 23, 2012, at June 23, 201212:20 AM, Jorge wrote: >> >> 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++. >>> >> Object.create(null) objects are real JS objects and act like real JS objects. > > yes, the language has warts, what is your point?
That I agree 100% with Bert: On Fri, Jun 22, 2012 at 7:22 PM, Bert Belder <[email protected]> wrote: > > 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. -- Jorge. -- 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
