On 2/18/07, Martin Ellis <[EMAIL PROTECTED]> wrote: > > > Can't prototype.js be elegant without it looking like ruby code?
Prototype.js is not making Ruby in JavaScript. It just embraces the conventions (modules, names, return types) because the two languages have similar dynamic features. As for Enumerable, you already have that in ECMAScript (and implemented by Mozilla), only under different names ("forEach", "filter", ...). To make JavaScript into "something it isn't" would be to shackle it within > the confines of a less dynamic language like Java. Unfortunately, this is where JavaScript 2 is going right now. And it's already too late to change anything. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---