An if Netscrape says it it has to be correct?
----- Original Message -----
From: "Cameron Hart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 6:23 AM
Subject: RE: [Dynapi-Dev] Next Generation
> netscape themselves refer both javascript and java as object-based
> languages. javascript they say is prototype-based, and java is
class-based.
> both are object-based.
>
> straight from the horses mouth
> http://developer.netscape.com/docs/manuals/js/client/jsguide/obj2.htm
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Eytan
> > Heidingsfeld
> > Sent: 29 January 2001 13:14
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Dynapi-Dev] Next Generation
> >
> >
> > Lets really get the terms straight.
> >
> > Class-Oriented: You develop classes. You do this be using the prototype
of
> > an object. Then this object becomes basically a prototype, a
> > class and then
> > for inheritance an object says use this objects prototype and add these
> > members.
> > Object-Oriented: You develop classes by defining an interface and then
> > implementing this interface. To use this object you create a new object
> > based on this class. Inheritance is dealt with by saying I want to
inherit
> > this and this class. Then your new object has the same members as those
> > classes with pointers to their implementation.
> >
> > There is no PO only CO and OO the difference is inheritance and memory
> > management but since there is no memory management in JS there is no
> > difference but inheritance.
> > 8an
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev