On Tue, Jun 17, 2008 at 6:23 AM, machineghost <[EMAIL PROTECTED]> wrote: > So before I waste a bunch of time trying to fix such issues, I thought > it might help to ask if anyone else had played around with this sort > of thing before. Or for that matter, is anyone actually using > anything like this? If so, I'd love to hear about your experience. > > Jeremy
It's almost the hallmark of MochiKit, that it _doesn't_ pollute the global namespace, like a lot of other libraries do. The problem in mocking around with core prototypes, is that you can break code that would otherwise work. Of course, you can't run Mochikit together with Prototype today either, but that's the fault of Prototype and not of Mochikit. Besides that, what's the benefit of writing thing the other way around anyway? Mochikit uses a function-oriented syntax, while jQuery use an object-oriented syntax. I find that this helps me to think function-oriented, rather than object-oriented, and generally I think that's a good thing. ( An interesting blog post about that topic exactly: http://michaelfeathers.typepad.com/michael_feathers_blog/2008/05/are-fp-and-oo-i.html ) -- troels --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
