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

Who this book is for

This book is for programmers who want to create succinct, expressive Python programs by borrowing techniques and design patterns from functional programming languages. Some algorithms can be expressed elegantly in a functional style; we can—and should—adapt this to make Python programs more readable and maintainable.

In some cases, a functional approach to a problem will also lead to extremely high-performance algorithms. Python makes it too easy to create large intermediate data structures, tying up memory (and processor time.) With functional programming design patterns, we can often replace large lists with generator expressions that are equally expressive but take up much less memory and run much more quickly.

主站蜘蛛池模板: 宁陕县| 金沙县| 左权县| 梁山县| 柳林县| 天峻县| 济源市| 西丰县| 铜川市| 嘉禾县| 房山区| 册亨县| 宁安市| 华宁县| 磐石市| 德兴市| 石渠县| 博湖县| 玛多县| 白沙| 荆州市| 墨江| 大城县| 遂川县| 获嘉县| 太仆寺旗| 洛隆县| 香格里拉县| 定兴县| 丰宁| 宣威市| 翁源县| 夏津县| 翁牛特旗| 肇东市| 体育| 屏边| 若尔盖县| 确山县| 界首市| 孟连|