Design Decisions - 2
Representation
- Choosing one data structure or algorithm to represent another
- Array and index to represent a stack
Interleaving (encapsulation)
- Incorporating two design concepts in one code section, usually to improve performance
- Loop fusion; multiple return values
Removal of non-determinism
- Limiting behavior, usually because of finite resources
- Fixed length arrays; time-outs