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

Chapter 2. Writing Composable Code

In this chapter, we'll explore the concept of composable code. We start by defining the term. We then examine composable and non-composable examples to better understand what composability is, and improve code by refactoring. We will learn about important techniques to maximize composability, such as predicates, list comprehensions, contracts, closures, and docstrings. We put these techniques to work by building a library to convert a hierarchy of transforms into joints. After that, we compose this library into a configurable higher-level tool for creating characters. Finally, we will look at some issues and solutions surrounding PyMEL, composability, and performance.

主站蜘蛛池模板: 清流县| 永定县| 如东县| 繁峙县| 宜章县| 乌兰县| 萍乡市| 兴安县| 普洱| 金湖县| 澄迈县| 邯郸县| 金平| 伊金霍洛旗| 荔浦县| 青海省| 涿鹿县| 淮安市| 平泉县| 广河县| 延寿县| 德化县| 邢台县| 定西市| 凤冈县| 陆川县| 高州市| 饶平县| 阳曲县| 留坝县| 榕江县| 淮北市| 张家口市| 策勒县| 灵宝市| 花垣县| 武陟县| 武宁县| 斗六市| 左贡县| 阳原县|