Python rules, and I mainly agree, except the day "new" will not be necessary anymore we'll loose constructor duality, as functions, and implicit injected "init" methods.
Regards On Tue, Aug 11, 2009 at 3:46 AM, Daniel Friesen <nadir.seen.f...@gmail.com>wrote: > > The requirement of "new" to create new js objects is an unnecessary > piece of the language, in fact the need to use it disappears in ES5 as > it's no longer the only way to create new objects with a set prototype. > There's nothing strange about having a $ function and creating an object > from it, in fact it's closer to real prototype-based programming than > the `new Class` you see inside of JavaScript. > > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---