Minimizing closure usage
Been meaning to blog about this for a while, but just kept forgetting. Over at the Atlas and More Blog, Bertrand Le Roy has posted two articles on converting object definitions from using closures to using prototypes. Though the postings are mostly about using the latest version of Atlas, there is some good discussion of why private members aren’t necessary or efficient for use in JavaScript. You’ll remember I blogged about avoiding closures recently, and these articles follow along in the same vein.