C Programming Language Easter Egg - Recursive Index

If you look up the word "recursion" in the index, you'll find that Kernighan and Ritchie have listed page 269 as one of the reference pages. Page 269 happens to be the page of the index containing the word recursion. This seems to be the only self-referential entry the index and is a subtle and clever way to illustrate the meaning of recursion.

User Rating:
7.0
  7.0/10 with 643 votes
Contributed By: Asterix The Gaul on 12-08-2000
Reviewed By: Webmaster
Special Requirements: Second Edition ( ISBN: 0-13-110362-8 )
Please correct this Egg if you see errors.

Pictures and Videos

None posted yet. Send us yours and be the first!

Comments

Nice. Similar to something in Bjarne Stroustrup's C++ book. Each chapter has a quote at the start and the chapter on templates simply says something like 'insert your quote here'.
21 of 39 people found this comment helpful. Did you? Yes No
cpl writes:
But, every recursive procedure must have two parts...a recursive reference and a terminating condition. If there is no terminating condition on the page containing the recursive reference, then an unwary reader could become stuck in a loop!
21 of 39 people found this comment helpful. Did you? Yes No
Derek Day writes:
I wondered why I could never get past that page......
21 of 39 people found this comment helpful. Did you? Yes No
Dr. Strange writes:
The Hacker's Jargon Lexicon at tuxedo.org has several similar entries.
21 of 39 people found this comment helpful. Did you? Yes No


Register - Privacy Policy - About Us - Contact Us