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

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.

主站蜘蛛池模板: 乌鲁木齐县| 甘洛县| 嘉祥县| 义乌市| 阿勒泰市| 原阳县| 调兵山市| 六枝特区| 宁晋县| 沙坪坝区| 如东县| 南阳市| 邵东县| 买车| 赣州市| 毕节市| 呼图壁县| 万山特区| 广安市| 广河县| 鸡西市| 宁安市| 闸北区| 沁水县| 旌德县| 广灵县| 阜新市| 遵化市| 土默特右旗| 北宁市| 卓尼县| 黄冈市| 博客| 琼结县| 饶平县| 石狮市| 沽源县| 黄平县| 应城市| 宝应县| 监利县|