Hi, On Fri, Oct 8, 2010 at 5:20 PM, Paul D. Fernhout <[email protected]> wrote: > The PataPata project (by me) attempted to bring some ideas for Squeak and > Self to Python about five years ago. A post mortem critique on it from four > years ago: > "PataPata critique: the good, the bad, the ugly" > http://patapata.sourceforge.net/critique.html
In that critique you basically say that prototypes *maybe* aren't better than classes, after all. On the other hand, it seems like most problems with prototypes weren't related to prototypes per se, but the (ugly?) implementation in Jython which isn't a real prototype-based language. So, did you have a fundamental problem with prototypes or was it more about your particular implementation? > I am wondering if there is some value in reviving the idea for JavaScript? > > Firebug shows what is possible as a sort of computing microscope for > JavaScript and HTML and CSS. Sencha Ext Designer shows what is possible as > far as interactive GUI design. What exactly does JavaScript give you that you don't get with Python? If you want to have prototypes then JavaScript is probably the worst language you can pick. You can't specify multiple delegates and you can't change the delegates at runtime (unless your browser supports __proto__, but even then you can only have one delegate). Also, as a language JavaScript is just not as powerful as Python. If all you want is a prototypes implementation that doesn't require modifications to the interpreter then you can get that with Python, too (*without* JavaScript's delegation limitations). Bye, Waldemar -- Django on App Engine, MongoDB, ...? Browser-side Python? It's open-source: http://www.allbuttonspressed.com/ _______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
