- Learn Scala Programming
- Slava Schmidt
- 67字
- 2021-06-10 19:35:49
Recursion and trampolining
There is a special case of a function calling another function—the function calling itself. Such functions are called recursive. Recursive functions can be head-recursive or tail-recursive. There is also an approach to model recursive calls in an object-oriented way called trampolining. Recursion is very convenient and often uses the technique in functional programming, so let's take a close look at these concepts.
推薦閱讀
- Python程序設計
- 零基礎學單片機C語言程序設計
- Learning OpenStack Networking(Neutron)(Second Edition)
- Java系統化項目開發教程
- Python機器學習算法: 原理、實現與案例
- HTML5 APP開發從入門到精通(微課精編版)
- Learning AngularJS for .NET Developers
- Android移動開發案例教程:基于Android Studio開發環境
- Windows Embedded CE 6.0程序設計實戰
- Learning AWS
- Photoshop CC移動UI設計案例教程(全彩慕課版·第2版)
- Learning Kotlin by building Android Applications
- Python 快速入門(第3版)
- Java語言程序設計實用教程(第2版)
- Android熱門應用開發詳解