Lisp

Programmer

博客园 首页 新随笔 联系 订阅 管理
I visit Peter Norvig's site, and found this one:

If you have two mutually-recursive functions that both alter the state of an object, try to move almost all the functionality into just one of the functions. Otherwise you will probably end up duplicating code.
posted on 2006-06-19 12:40  fei  阅读(188)  评论(0编辑  收藏  举报