Jump to content

Talk:This (computer programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 194.25.187.119 (talk) at 13:00, 22 October 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Redirects

Open recursion redirects here but there is no information on open recursion in the article.

JavaScript

Could someone write about the usage of this in JavaScript? It's a tricky little creature... From the little I understand, it's sort of dynamic. this could mean different things depending on how the code was accessed/called.

(Some references I've found: http://www.switchonthecode.com/tutorials/javascript-tutorial-why-the-this-keyword-breaks http://jonaquino.blogspot.com/2008/04/programming-understanding-this-keyword.html http://www.quirksmode.org/js/this.html)

Thanks, ~Aranel Alasse~ (talk) 20:20, 11 March 2009 (UTC)[reply]

python

Someone want to write about self in python? Cowbert 06:47, 9 May 2007 (UTC)[reply]

PHP

In PHP, this and self exist but represent different things. Because of polymorphism, a this pointer can change; however, self retains reference to the current class so static self-referential calls may be made. See: [1][2] NiX0n 16:10, 2 November 2007 (UTC)[reply]

C++ -> Java?

Java wasn't derived from C++, they were both derived from C! User:billylikeswikis 1:53pm, 08/08/08 (GMT) Java is written in C++ therefore it was derived from C++. —Preceding unsigned comment added by 137.190.157.41 (talk) 19:52, 22 April 2009 (UTC)[reply]

Python is written in C, so is it derived from C? No! --220.142.130.191 (talk) 11:22, 1 June 2009 (UTC)[reply]