in reply to Re^2: The Accessor Heresy
in thread The Accessor Heresy
Not quite. Square is both a Rectangle and a Rhombus, both of which are Parallelograms which isa Quadrilateral which isa Polygon. In addition, Square->is_regular_polygon() is true where none of the other classes mentioned in this listing can make that claim. is_regular_polygon() would be a method of Polygon.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: The Accessor Heresy
by Anonymous Monk on Nov 28, 2005 at 21:30 UTC |