Jump to content

Talk:Mutual recursion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qwerfjkl (bot) (talk | contribs) at 05:53, 25 January 2024 (Implementing WP:PIQA (Task 26)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Use ALL the languages

The examples in this article are a little hectic - we start at Standard ML, then go to C (which isn't syntactically valid, functions must have { and }, not to mention bool is more characteristic of C++ and must be explicitly included or defined in C), then swing by Python (which isn't marked as such), back to Standard ML, and finally we end with Scheme. Shouldn't this be simplified to a smaller number of consistent pseudocode examples (that both academics and programmers can understand), instead of a handful of examples in different languages that all say the same thing? Or at the very least, can we pick one language and stick with it? 74.103.134.250 (talk) 21:26, 11 May 2013 (UTC)[reply]

Tree vs Forest example is not great

The tree vs forest example doesn't make sense. A tree is not the "parent" of a "forest" in a real sense. Perhaps a more appropriate parent-child example could be found?