Why is a Range not a Pair?

Because... is it fails the "is a kind of" OOD test?

I could say that a range is a pair of bounds (an upper and lower bound.)

I could argue that Range should subclass Pair. The question is: why are we
NOT eating our own dog food?

Which then brings me to the names of the bounds for Range: minimum and
maximum, which IMO should be lowerBound and upperBound.

Thoughts?

-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

Reply via email to