Breton,

There is a difference between the use of object and object-oriented programming. Coad / Yourdon suggests object-oriented being classes and objects, inheritance and communication with messages. Does _javascript_ have classes? Can inheritance of _javascript_ occur without prototype?

May I provide the following resource, pointing out second paragraph under 'Adding a Method': http://www.kevlindev.com/tutorials/_javascript_/inheritance/index.htm

Object-oriented programming consists of native inheritance. Are you suggesting that a prototypical approach to inheritance one in the same as native inheritance?

Thanks,
Anthony.

Breton Slivka wrote:
On Mon, Oct 27, 2008 at 12:02 PM, Anthony Ziebell
<[EMAIL PROTECTED]> wrote:
  
Luke,

Discrediting c++ has nothing to do with the question "Is _javascript_
object-orientated?". With that, and in closing, I would like to point out
that my comments were based on the actual question - asking if _javascript_
were object-oriented, not if it has objects. Prototype has objects, and it
is of my opinion that _javascript_ is more prototype than anything else.

Thanks,
Anthony.
    


Yes that's fine anthony, but the problem is that statement doesn't
actually mean anything. it is logically invalid, and quite nonsensical
to say "_javascript_ is not object oriented, it's more prototype based",
because the two things are not mutually exclusive. _javascript_ having
prototypical inheritence has absolutely nothing to do with the
question of whether it is object oriented or not. It can be both
object oriented, AND based on prototypal inheritence, and in fact, it
is both. 100%. This is not my opinion. it is a fact.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************


  

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to