![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
"this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] |
#2
| |||
| |||
|
|
Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. The rest of that paragraph is unnecessary to mention here and ultimately misleading. |
#3
| |||
| |||
|
|
Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. The rest of that paragraph is unnecessary to mention here and ultimately misleading. You know, it would have been more informative for anyone following this thread if you'd quoted the part you objected to, and refered to the current thread where you're discussing that subject. This kind of reply is not helping anyone. |
|
Thomas, I respect your knowledge and insight, but I really do not like your posting style. |
#4
| |||
| |||
|
|
Joost Diepenmaat wrote: Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. The rest of that paragraph is unnecessary to mention here and ultimately misleading. You know, it would have been more informative for anyone following this thread if you'd quoted the part you objected to, and refered to the current thread where you're discussing that subject. This kind of reply is not helping anyone. It would have helped you, would you not have fallen victim to your self-delusions. Thomas, I respect your knowledge and insight, but I really do not like your posting style. Go on crying. I am not going to repeat myself just to pamper those who cannot seem to follow this simple rule of Usenet: read before you post. Score adjusted |
#5
| |||
| |||
|
|
Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. The rest of that paragraph is unnecessary to mention here and ultimately misleading. You know, it would have been more informative for anyone following this thread if you'd quoted the part you objected to, and refered to the current thread where you're discussing that subject. This kind of reply is not helping anyone. It would have helped you, would you not have fallen victim to your self-delusions. [...] Score adjusted Please adjust it a lot lower, and don't bother replying to me. |
#6
| |||
| |||
|
|
Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. *The rest of that paragraph is unnecessary to mention here and ultimately misleading. |
#7
| |||
| |||
|
|
Joost Diepenmaat wrote: Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> writes: Joost Diepenmaat wrote: You know, it would have been more informative for anyone following this thread if you'd quoted the part you objected to, and refered to the current thread where you're discussing that subject. This kind of reply is not helping anyone. It would have helped you, would you not have fallen victim to your self-delusions. [...] Score adjusted Please adjust it a lot lower, and don't bother replying to me. My apologies, this was uncalled for. While I do not think the thread reference was necessary (we discussed that only hours ago), my quoting was certainly suboptimal as was my second followup here. |
#8
| |||
| |||
|
|
On Aug 26, 6:19 pm, Thomas 'PointedEars' Lahn <PointedE... (AT) web (DOT) de> wrote: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. The rest of that paragraph is unnecessary to mention here and ultimately misleading. Do they constitute poor coding practices, or something? |
|
I actually thought it was useful (didn't know about call(), for instance), although if I should be doing something differently, I'd like to know... |
#9
| |||
| |||
|
|
On Aug 26, 6:19Â*pm, Thomas 'PointedEars' Lahn <PointedE... (AT) web (DOT) de wrote: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. Â*The rest of that paragraph is unnecessary to mention here and ultimately misleading. Do they constitute poor coding practices, or something? I actually thought it was useful (didn't know about call(), for instance), although if I should be doing something differently, I'd like to know... |
#10
| |||
| |||
|
|
yawnmoth wrote: On Aug 26, 6:19 pm, Thomas 'PointedEars' Lahn <PointedE... (AT) web (DOT) de> wrote: Joost Diepenmaat wrote: "this" means the object of a method call. in short, whenever it doens't refer to anything more specific, it refers to the global object [...] Period. *The rest of that paragraph is unnecessary to mention here and ultimately misleading. Do they constitute poor coding practices, or something? Not Joosts examples, they are OK (but see below). *(It would turn out my suboptimal quoting was even more misleading than what I was actually referring to. *Sigh. [psf 10.1]) I actually thought it was useful (didn't know about call(), for instance), although if I should be doing something differently, I'd like to know... Function.prototype.call() should be feature-tested before called because it is not universally supported: http://PointedEars.de/es-matrix/#f |

![]() |
| Thread Tools | |
| Display Modes | |
| |