Symbol>>capitalized?
Bill Schwab
BSchwab at anest.ufl.edu
Tue Jan 2 18:53:02 UTC 2007
I would probably just send #asString to the symbols vs. adding the new
method. I agree that returning an instance of the same class is the
correct behavior.
Bill
Terry Raymond:
RE: Symbol>>capitalized?
I would not recommend this. Normally, one would expect
that a transformation like #capitalized would return an
object of the same class. It would make more sense to
define #asCapitalizedString and change the code to use it.
Terry
Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254
Email: bills at anest4.anest.ufl.edu
Tel: (352) 846-1285
FAX: (352) 392-7029
More information about the Squeak-dev
mailing list
|