In the glossary of a programming textbook


loop.jpg


(via Reddit)

This was posted by ooglag on Reddit who says it’s from John Zelle’s Python Programming, although it’s pretty common in other text books as well. It also reminds me of google:
http://www.google.ca/search?q=recursion

** Note: Some posts on Math-Fail are user-submitted and NOT verified by the admin of the site before publication. If you find this post to be distasteful, non-math related, ?or something worse?, then definitely leave a comment letting me know. Thanks very much! Mike **

1 Star2 Stars3 Stars4 Stars5 Stars (5.00 from 3 votes)
Loading...Loading...

15 Comments.

  1. I enjoy it when textbooks include some humor. It’s a nice way to keep things from becoming monotonous. Great upload! =]

    Thumb up 0 Thumb down 0

  2. The only other example of index humour I know is in the CRC Data Book, which has this entry for ‘sea water’:
    Sea water; see ‘Water, sea’

    Thumb up 0 Thumb down 0

  3. K&R is “a textbook”? only inasmuch as the Mona Lisa is “a painting”

    Thumb up 0 Thumb down 0

  4. I don’t really consider this a fail, but more like ingenuity on a writer’s part.

    Thumb up 0 Thumb down 0

  5. Google “recursion”.

    Thumb up 0 Thumb down 0

  6. isn’t recursive fancy writing! 🙂

    Thumb up 0 Thumb down 0

  7. “from John Zelle’s Python Programming”
    should be:
    ” from monty phyton programming..”

    Thumb up 0 Thumb down 0

  8. Aside from the humor those examples make the definitions much clearer to understand.

    Thumb up 0 Thumb down 0

  9. That third definition should say “Recursive: A function or definition that refers to itself. See Recursive until you get it.” (There has to be a base case!)

    Thumb up 0 Thumb down 0

  10. that is so NOT a fale…

    Thumb up 0 Thumb down 0

  11. Clearly a math win!

    Thumb up 0 Thumb down 0

  12. stack overflow: see infinite loop and recursive simultaneously

    Thumb up 0 Thumb down 0

  13. Isn’t a loop always infinite?

    Thumb up 0 Thumb down 0

  14. Original source for these is the Hacker’s Dictionary and the original Jargon Files.
    http://www.amazon.com/New-Hackers-Dictionary-3rd/dp/0262680920/ref=sr_1_1?ie=UTF8&s=books&qid=1290160459&sr=8-1
    http://www.dourish.com/goodies/jargon.html (1988 jargon file, has Recursion entry)

    Thumb up 0 Thumb down 0