官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 桐庐县| 乐业县| 阿勒泰市| 萝北县| 宾川县| 余姚市| 萍乡市| 营山县| 高雄县| 山西省| 扬州市| 原阳县| 合山市| 金堂县| 内江市| 淳安县| 甘南县| 吉首市| 平原县| 昌都县| 恩施市| 泉州市| 林甸县| 宁波市| 眉山市| 富裕县| 南丹县| 桐城市| 明水县| 新竹市| 辛集市| 昔阳县| 安新县| 临潭县| 高陵县| 河东区| 韶关市| 甘谷县| 林口县| 东兴市| 日喀则市|