JMU
Vector Arithmetic
Software Design Considerations


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Qualitative Goals: A Reminder
High-Level Design
High Level Design

What methods do we need?

Low-Level Design: Attributes

Should the attributes of a Point class be an array or individual values?

Low-Level Design: Attributes (cont.)

How should we handle the number of elements?

Low-Level Design: Methods

Should methods return a new Point/array, or should it modify the parameters?

Low-Level Design: Methods (cont.)

What kind of error checking should be performed?