Version 1 (modified by Charles, 12 years ago) |
---|
Properties
Introduction
to-do
Compared to Methods
- Methods cannot take parameters.
- In practice, methods are not systematically enumerated and invoked.
- Methods may perform substantial calculations and/or I/O.
- Methods are about actions and computations; properties are about inspection or characteristics.