Skip to content

Commit 9ac46c7

Browse files
authored
Merge pull request #93 from mtotschnig/master
Another typo
2 parents 8a31f14 + ca425c0 commit 9ac46c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: book/notes/n_085_01.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Ah recursion. Recursion is a beloved concept in Computer Science. It is often taught early in most programming
2-
courses because it is "so cool". Most examples like computing factorial or the example above of converting a
3-
an integer to a string are not good uses of recursion.
2+
courses because it is "so cool". Most examples like computing factorial or the example above of converting an
3+
integer to a string are not good uses of recursion.
44

55
But when you need to traverse a tree-based structure like an XML document, or parse a mathematical expression,
66
recursion is the ideal solution. So the problem is not recursion, but when it is taught and what examples are used.

0 commit comments

Comments
 (0)