Sure, that's what an "object" is. But OOP is not just about an "object". There is a lot more involved.

Don't get me wrong, I am a fan of _javascript_ - but it has faux classes and objects, and this is why my opinion of _javascript_ is that it is prototype, not object.

Cheers,
Anthony.

Brett Patterson wrote:
I didn't see that. :) But as I have read in other areas, _javascript_ is based on ECMAScript. And Object-oriented programming (OOP) is a programming paradigm that uses "objects" and their interactions to design applications and computer programs. Is this correct?

On Thu, Oct 23, 2008 at 6:18 PM, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
Brett Patterson wrote:
I am in the middle of a conversation with this guy who says that _javascript_ is an object-oriented language. Is he correct? Could you please site some references?

How about the standard itself? :-)

<http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf>

 Overview
  ...

  ECMAScript is an object-oriented programming language for
  performing computations and manipulating computational objects
  within a host environment.

HTH,
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-621-3445   === http://webtuitive.com

                         dream.  code.



*******************************************************************
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]
*******************************************************************

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

Reply via email to