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

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.

主站蜘蛛池模板: 凤翔县| 金门县| 昂仁县| 平安县| 定结县| 新绛县| 繁峙县| 东平县| 广昌县| 明水县| 抚顺市| 阿合奇县| 武冈市| 营口市| 三门县| 全州县| 湟源县| 徐闻县| 长汀县| 苗栗县| 揭西县| 阿拉善右旗| 西盟| 岱山县| 玉溪市| 南投县| 襄汾县| 山西省| 盐城市| 桦南县| 莱芜市| 长阳| 五大连池市| 察隅县| 巴马| 固原市| 女性| 育儿| 泽库县| 清镇市| 平塘县|