- 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應用輕松入門
- Python 3破冰人工智能:從入門到實戰
- Mastering Rust
- Responsive Web Design by Example
- TypeScript項目開發實戰
- 信息技術應用基礎
- Express Web Application Development
- Web前端應用開發技術
- Python編程:從入門到實踐(第3版)
- Mastering Adobe Captivate 7
- 現代C:概念剖析和編程實踐
- H5+移動營銷設計寶典
- Python網絡爬蟲實例教程(視頻講解版)
- 虛擬現實建模與編程(SketchUp+OSG開發技術)
- Joomla!Search Engine Optimization