- Practical Maya Programming with Python
- Robert Galanakis
- 105字
- 2021-09-03 10:05:25
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.
推薦閱讀
- Linux核心技術從小白到大牛
- Mastering Entity Framework
- Visual Basic程序設計(第3版):學習指導與練習
- Learning Informatica PowerCenter 10.x(Second Edition)
- Wireshark Network Security
- 軟件架構:Python語言實現
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- Visual Basic程序設計實驗指導(第二版)
- Learning YARN
- Quantum Computing and Blockchain in Business
- Unity 2018 Augmented Reality Projects
- 遠方:兩位持續創業者的點滴思考
- UI設計基礎培訓教程(全彩版)
- Mastering OpenStack
- Python面向對象編程(第4版)