Re: modularity... (was: Re: Looking for real world examples to explain the difference between procedural (structured?) programming and OOP)
- From: Garrett Smith <dhtmlkitchen@xxxxxxxxx>
- Date: Thu, 18 Jun 2009 21:21:58 -0700
H. S. Lahman wrote:
Responding to cr88192...
[...]
nevermind that JavaScript is also an OOPL FWIW...
LOL. It is a stretch to even call it object-based.
Show me a complex web site that uses a lot of JavaScript and I will show you a web site with chronic broken page problems. JavaScript gets my vote for the worst contribution to software development since MS-DOS or the old UNIX sendmail program.
Your criticism of the language seems to be based on the things web developers create with it. That seems a bit unfair to the language. Web developers do things in very strange ways.
Granted, there are certainly shortcomings with the language. The typeof, operator parseInt, and the Date object, to name a few.
Host objects are such things as an HTML document, the browser window, or XMLHttpRequest. These things are not native to the language. The APIs developed by Netscape, Microsoft, and the w3c have affected how we code our scripts. Many of the w3c standards were copied from vendor APIs, such as microsoft's DOM. Sometimes the standard was specified in ways that are incompatible with the original.
[...]
If one reads books by OOA/D authors like Jacobson, Wirfs-Brock, Mellor, et al it superficially appears that they are talking about quite different things complete with different terminology. But those differences represent attempts to map the underlying OO fundamentals into something familiar to novices. Thus Wirfs-Brock emphasizes roles while Jacobson emphasizes use case analysis. That mapping to familiarity is necessary because the OO paradigm is not intuitive in terms of conventional algorithmic computation.
Incidentally, Rebecca Wirfs-Brock is married to Allen Wirfs-Brock who is
a member of TG 39.
[...]
Criticism on the HTML 5 specification can be directed to the whatwg mailing list.
Criticism to the ECMAScript 5 specification can be directed to es-discuss mailing list.
Garrett
--
The official comp.lang.javascript FAQ:
http://jibbering.com/faq/
.
- Follow-Ups:
- Prev by Date: AT&T Usenet Netnews Service Shutting Down
- Next by Date: Re: modularity... (was: Re: Looking for real world examples to explain the difference between procedural (structured?) programming and OOP)
- Previous by thread: Re: modularity... (was: Re: Looking for real world examples to explain the difference between procedural (structured?) programming and OOP)
- Next by thread: Re: modularity... (was: Re: Looking for real world examples to explain the difference between procedural (structured?) programming and OOP)
- Index(es):
Relevant Pages
|