[self-interest] Prototypes in Self And JavaScript

Chris Double chris at double.co.nz
Wed Jul 29 23:38:07 UTC 2009


On Thu, Jul 30, 2009 at 6:56 AM, brassplume<brassplume at yahoo.com> wrote:
>
> I'm going to read the Wiki page on Prototype-based programming, but anything
> you could contribute would be great.

Some links that might interest you:

A post of mine on using prototype based inheritance:
  http://www.bluishcoder.co.nz/2009/07/prototype-based-programming-languages.html

'Attack of the Clones' paper - describes design patterns using prototypes.
  http://crpit.com/abstracts/CRPITV13Noble.html

Organizing programs without classes - another good paper
  http://research.sun.com/self/papers/organizing-programs.html

Unfortunately JavaScript doesn't allow easy manipulation of the
prototype slot making some usage of prototype design patterns
difficult.

Chris.
-- 
http://www.bluishcoder.co.nz



More information about the Self-interest mailing list