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

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.

主站蜘蛛池模板: 铁力市| 甘南县| 屏东市| 抚州市| 隆化县| 郓城县| 措美县| 张家港市| 来宾市| 化德县| 睢宁县| 乐安县| 许昌市| 维西| 滁州市| 旺苍县| 洱源县| 华坪县| 朝阳区| 明星| 鄂尔多斯市| 卢龙县| 阿拉尔市| 万山特区| 桃源县| 宜阳县| 乾安县| 刚察县| 宿松县| 广宗县| 上思县| 凤凰县| 土默特右旗| 温宿县| 耿马| 化州市| 沛县| 云阳县| 元朗区| 南溪县| 彩票|