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

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.

主站蜘蛛池模板: 临沭县| 吴江市| 永年县| 衡阳市| 泗水县| 沁水县| 肇庆市| 驻马店市| 神木县| 晴隆县| 板桥市| 宜兰县| 和静县| 仁化县| 巴塘县| 苏尼特右旗| 晋州市| 奉化市| 长汀县| 辽中县| 都安| 河曲县| 临洮县| 揭西县| 饶河县| 辉县市| 铁岭市| 扎囊县| 西华县| 丘北县| 阜阳市| 达州市| 旬阳县| 东乌| 大同县| 石首市| 宿州市| 贡山| 营山县| 大冶市| 吉木萨尔县|