Quizzes & Puzzles3 mins ago
Programming Languages
3 Answers
What is Self?
Answers
Best Answer
No best answer has yet been selected by Mike. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ."Self" is used, in Object Oriented programming theory, to refer inside an object to itself. So if a class is CApple then if an object were a pippin (of that class), then to invoke a method of that object when inside the object you can say that you are invoking a call to self. In C++, self equates to the "this" pointer.
Oh yes, and it's a whacky OO programming language (not used it myself but is a step beyond SmallTalk).
See http://research.sun.com/self/language.html
-- answer removed --