wizz for coding! part 2, rekurshon
the ordenry way of finding ansers is for one funkshon to aks another thus:
FOTHERINGTON-TOMAS: Hello clouds hello sky, hello peason. who is the strongest boy in all st. custards?
PEASON: er, i dunno. molesworth, who is the tuoghest in st. custards?
MOLESWORTH (chest swelling with manly pride): it is i (gramer)
PEASON: it is molesworth. (he burst out laffing)
FOTHERINGTON-TOMAS: Hurrah, i hav my answer. (he skip merily away.)
but a rekursiv funkshon can aks itself for an anser.
FOTHERINGTON-TOMAS: Hello clouds hello sky, hello molesworth. who is the strongest boy in all st. custards?
MOLESWORTH: i shal aks myself. molesworth, who is the tuoghest in st. custards?
(i turn around. i am looking into the eyes of a handsom stranger.
could it be MYSELF?)
MOLESWORTH: dere me, who is the tuoghest in st. custards?
MOLESWORTH-PRIME: it is me.
(but as i turn to tell fotherington-tomas, we hear the footstepps of the glamorus under-matron PRUDENCE ENTWISTLE)
MOLESWORTH-PRIME: wait! i must veriffy the result. prudence, who is the tuoghest in the skool?
PRUDENCE: you, my sweet.
(she kisses him and they depart arm in arm without me chiz chiz chiz)
rekurshon was invented by som monks in hanoi. they had three huge needels and a hundred disks. they spent hundreds of yeres moving them about it was worse than detenshun. they shud hav just spun them around like radio LUXEMBURG hem hem. anyway one day the americans invaded.
tho to be fair it is probbly less rude in vietnamese. This entry was originally posted at http://marnanel.dreamwidth.org/384707.html. Please comment there using OpenID.
AMERICANS: wot are you doing
BROTHER MOLESWORTH: moving disks around
BROTHER MOLESWORTH: no time to talk, got to move this disk around
AMERICANS: dont drop it on your…
BROTHER MOLESWORTH: oh S— B— D—
ABBOT: report to the scriptorium to have thy mouth woshed out with soap