I posted this comment, I doubt he'll publish it. Your comments about Mootools couldn't be further from the truth. $splat turns anything into an array. This is because Mootools simplifies the code following DRY principles and only uses 'apply' and not 'call'. If we look at your console.log yes at that moment it is an object but if we look at what happens in the next line an object will simply become the first item in an array. So mootools handles fine. The other nice aspect of mootools is how they extend the prototype. Mootools also gives you 'attempt', 'bindWithEvent', 'delay' and 'periodical' all different variations of bind. 'create' is a generic bind creation function depending on the options, it creates all kinds of neat binds. Very elegant code.
Before making comments like "No professional developer should allow himself to use such code for a real project." You really need to understand the code and understand how javascript works. It is also necessary to have a proper understanding of the philosophy of the framework that your examining. On Fri, Sep 12, 2008 at 6:32 AM, Valerio Proietti <[EMAIL PROTECTED]>wrote: > > Honestly, dont even bother. > > His ignorance just makes me laugh. > > > > On Sep 12, 2008, at 11:28 AM, loki der quaeler wrote: > > >> >> i already left him a comment pointing out that he couldn't have tested >> $type correctly to make the statements he's making, but i don't have the >> patience to formally deconstruct his acerbic attitude towards mooTools. >> anyone have more patience? >> >> >> http://dhtmlkitchen.com/?category=/JavaScript/&date=2008/09/11/&entry=Function-prototype-bind >> >> >
