Ray's playground

 

2009年10月31日

Recipe 19.3. Generating the Fibonacci Sequence

摘要: It's worth reflecting on why a generator is so perfectly suitable for implementing an unbounded sequence and letting you work with it. Syntactically, a generator is "just" a function containing the ke... 阅读全文

posted @ 2009-10-31 20:57 Ray Z 阅读(175) 评论(0) 推荐(0) 编辑

导航