On Dec 23, 9:42 am, "Dmitry A. Soshnikov" <dmitry.soshni...@gmail.com> wrote: > On 23.12.2010 17:54, Yu-Hsuan Lai wrote: > > > I think I have totally understood your code, but is this the using > > "new" which "Good Part" try to avoid? > > I think the book you read consider `new` as `evil` because of two > reasons: (1) to avoid a similarity with a class-based systems such as > Java (to setup your mind to think in a prototype-based paradigm), and > (2) to scare children ;).
Scare children probably the biggest reason IMO. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com