2 ms·
> I disagree. By wrapping an angle in an Angle class, the internal representation need never be exposed to the programmer. Because nobody will ever instantiate
by naniwaduni 4y ago
> I disagree. By wrapping an angle in an Angle class, the internal representation need never be exposed to the programmer.
Because nobody will ever instantiate one?
At the end of the day, you're not implementing these as an exercise in hermetic design, you're trying to do arithmetic, presumably on numbers you have.