Recursion Quote by Steve McConnell
““You can do anything with stacks and iteration that you can do with recursion.””
About This Quote
Source Book: Code Complete, 1993
Iterative processes can achieve the same results as recursion, often more efficiently.
In simple terms: Loops can replace recursion.
Use iteration for clarity and performance.
Themes
Mood
Type
When to use this quote
- software development
- performance tuning
- educational teaching
- code refactoring
Key Concepts
Questions to Reflect On
- When is recursion preferable?
- How does iteration affect code readability?
Some problems are naturally recursive and harder to convert.