Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_objects thread: Re: Arrays and Lists


Message #1 by bob.jones@t... on Tue, 3 Sep 2002 15:17:03
> The next question is if anyone has tried doing this before, by extending 
> the Array interface (is one way I was thinking), or any other way and if 
> they have any tips or possibly libraries they would be willing to 
share.  

A co-worker loves Lisp and I've looked at a "quick-n-dirty" booklet - 
looks VERY VERY interesting. But, IMHO it's a waste of time to make one 
language look & act like another for it's own sake.

> 
> I have also been looking into making a fake of applicative operators 
using 
> eval (again Lisp, sorry), but any tips on this would be appreciated.  At 

Can't overload operators in Javascript. IMHO eval functions would look 
funny and be clumsy with little benefit; again, just to make it "look" 
like LISP.

Javascript is "light weight" for a reason. Maybe you'll be better off with 
Java.

> P.S. Please be gentle if you are going to flame me..:)

Hey, interesting questions. Some good academic experimental material here. 

Good Luck

  Return to Index