Book Image

Mastering Python Scientific Computing

Book Image

Mastering Python Scientific Computing

Overview of this book

Table of Contents (17 chapters)
Mastering Python Scientific Computing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The implementation of best practices


This section covers the best practices to be adopted for the implementation phase of software development:

  • Maximize comments in the code and documentation: Most scientific applications involve complex algorithms and computations; hence, their implementation is also complicated. It will be better for future enhancements if most complex implementations have descriptive comments to explain what the code is doing. It is necessary to maximize comments and documentation so that the users/developers are well aware of the ideas behind the programs. Specially, proper comments with complex logic will enable the development team working on future enhancement of the application/tool/API developed. The comments are supposed to explain the logic of the code.

  • Promote reusability: Instead of reinventing the wheel, before starting the development cycle, search for suitable libraries for the purpose. This will save a lot of effort by developing some already existing libraries...