previous | start | next

## Parallel Vectors

- Parallel vectors become a headache in larger programs.
  - Each vector must be the same length.
  - Each slice is filled with values that belong together.
  - Any function that operates on a slice must get several vectors as parameters.
- To remove parallel vectors, look at the slice and find the concept it represents. Make the concept into a class.
- Eliminate parallel vectors and replace them with a single vector.

previous | start | next