Skip to content

Commit

Permalink
Update programming.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelVerschraegen authored and mattbaileyuk committed May 30, 2024
1 parent d0afd35 commit 9eda3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Note that it is actually possible to write a recursive function using purely ano

### Tail call optimization (Tail recursion)

A recursive function adds a new frame to the call stack each time it invokes itself. This can eventually lead to stack exhaustion if the function recuses beyond a certain limit. Consider the classic recursive implementation of the factorial function
A recursive function adds a new frame to the call stack each time it invokes itself. This can eventually lead to stack exhaustion if the function recurses beyond a certain limit. Consider the classic recursive implementation of the factorial function

```
(
Expand Down

0 comments on commit 9eda3c7

Please sign in to comment.