Next: 5.2.1 More Types Meaningful
Up: 5 Advanced Compiler Use
Previous: 5.1.5 Writing Efficient Code
This section goes into more detail describing what types and declarations are
recognized by Python. The area where Python differs most radically from
previous Common Lisp compilers is in its support for types:
- Precise type checking helps to find bugs at run time.
- Compile-time type checking helps to find bugs at compile time.
- Type inference minimizes the need for generic operations, and
also increases the efficiency of run time type checking and the
effectiveness of compile time type checking.
- Support for detailed types provides a wealth of opportunity for
operation-specific type inference and optimization.
Raymond Toy
Mon Jul 14 09:11:27 EDT 1997