[squeak-dev] Re: Complex isNumber
Igor Stasenko
siguctua at gmail.com
Tue Mar 11 22:47:54 UTC 2008
Vector
|
------------------------
| | |
Point | Point3D/Vector3D
Complex
Why not move common behavior to Vector class, and make rest be subclasses?
Point class>>new
^ super new: 2
And few selectors like:
#isVector
#isScalar
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|