Today's vocabulary lesson
Apr. 26th, 2007 10:03 amDefine "self-referential"
A self-reference occurs when an object refers to itself. Reference is possible when there are two logical levels, a level and a meta-level. It is most commonly used in mathematics, philosophy, computer programming, and linguistics. Self-referential statements can lead to paradoxes (but see antinomy for limits on the significance of these).
Someone asked for the definition of "snarky" on the
seattle community.
seattle is the definition of snarky. I suppose "dictionary" is in the dictionary, but when you're holding the book in your hand, it should be pretty obvious what it is. Knowmsaynhah?
A self-reference occurs when an object refers to itself. Reference is possible when there are two logical levels, a level and a meta-level. It is most commonly used in mathematics, philosophy, computer programming, and linguistics. Self-referential statements can lead to paradoxes (but see antinomy for limits on the significance of these).
Someone asked for the definition of "snarky" on the
no subject
Date: 2007-04-27 02:39 am (UTC)int whatIsRecursion ( int moreTimes )
{
if ( moreTimes > 0 )
{
cout << "I'm going to ask you \'what is recursion?\' " << moreTimes << " more time";
if ( moreTimes > 1 )
{ cout << "s."; }
else
{ cout << "."; }
cout << endl;
moreTimes--;
moreTimes = whatIsRecursion ( moreTimes );
}
cout << "We're going backwards, and we\'re at step " << moreTimes;
cout << endl;
moreTimes++;
return moreTimes;
}
/* (Okay, the reason I'm so happy is because I haven't coded naught but javascript in three years, and I wrote this from memory with one stupid compiler error and one stupid logic error. I didn't even think I could code anymore.) */
/* (Too bad it's all comp sci 101 stuff, or I could maybe get a job with it.) */
/* I wonder what LJ will do to the formatting. */