Re: prototype __proto__ super and delegation
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Tue, 30 Oct 2007 21:38:28 +0100
Peter Michaux wrote:
[...] Thomas 'PointedEars' Lahn [...] wrote:
Peter Michaux wrote:
On Oct 29, 4:05 pm, Thomas 'PointedEars' Lahn <PointedE...@xxxxxx>That must be it. I have never had much interest in hypes.
wrote:
cbare wrote:Aspect-oriented programming. It's what's cool these days.
If __proto__ were an official part of the language, implementing aWhat do you mean by AOP?
decorator or proxy pattern would be nicely simplified compared to
class-based inheritence. The "before-and-after" style of AOP (which is
Ignore the hype. APO is useful.
That remains to be seen.
It the extreme opposite of having single DOM0 event handler.And what would a "DOM0 event handler" be?
<body onload="alert('an explicit example of DOM0 event handler');">
This is not at all a "DOM0 event handler". It is a standardized attribute
(of HTML 4.01) that provides listener code for the equally standardized
`load' event (of DOM Level 2 Events).
It is all about decoupling concerns.So AOP is nothing more than a synonym for the misguided "Unobtrusive
JavaScript" hype?
No. Nothing to do with JavaScript.
http://en.wikipedia.org/wiki/Aspect-oriented_programming
Thanks for the pointer; I would probably have found that shortly after, though.
I think it is if you set up the prototype chain properly. I will look intoWhy, `.__proto__' is but a JavaScript shortcut for the ECMAScript-definedobj.__proto__ is not a short cut for obj.constructor.prototype.
`.constructor.prototype'.
this later.
One has to do with constructing new objects. The other with already-
constructed objects.
Your statement does not make sense.
PointedEars
--
"Use any version of Microsoft Frontpage to create your site. (This won't
prevent people from viewing your source, but no one will want to steal it.)"
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
.
- References:
- prototype __proto__ super and delegation
- From: cbare
- Re: prototype __proto__ super and delegation
- From: Thomas 'PointedEars' Lahn
- Re: prototype __proto__ super and delegation
- From: Peter Michaux
- Re: prototype __proto__ super and delegation
- From: Thomas 'PointedEars' Lahn
- Re: prototype __proto__ super and delegation
- From: Peter Michaux
- prototype __proto__ super and delegation
- Prev by Date: Re: there is no DOM. the DOM is a lie.
- Next by Date: Re: Javascript Library
- Previous by thread: Re: prototype __proto__ super and delegation
- Next by thread: Re: prototype __proto__ super and delegation
- Index(es):
Relevant Pages
|