Book Image

Practical Maya Programming with Python

By : Robert Galanakis
Book Image

Practical Maya Programming with Python

By: Robert Galanakis

Overview of this book

Table of Contents (17 chapters)
Practical Maya Programming with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Contributing to the open source community


At this point, you should be able to use open source code from other people in a way more maintainable than copying and pasting the bits you need into your own scripts. Inevitably, at some point while using third-party code you will find a bug or some vital missing feature. You will be at a crossroads and must decide between the following:

  • Throw away the existing code and build your own. In the open source world, this is almost never preferable. If you are tempted down this path, think twice. The less experience you have with a problem, the more likely you are to underestimate how much work went into solving it. Since you are using someone else's library to solve a problem, the existing code is likely better than the first thing you'd come up with. Throwing away code is throwing away knowledge!

  • Edit your local copy of the code. While less tragic than abandoning the open source version entirely, this is still a bad decision. When you upgrade to a newer...