[Pharo-project] about printOnDelimiter vs asStringOn: delimiter:
Jan. 16, 2009
5:55 p.m.
Hi all I would like to have your point of view on the following: on the class collection there are two methods asStringOn: aStream delimiter: delimString asStringOn: aStream delimiter: delimString last: lastDelimString printOn: aStream delimiter: delimString printOn: aStream delimiter: delimString last: lastDelimString which are nearly doing the same. I suggest to remove the printOn: version since it prints: '1'', ''2'' & ''3'. while asString '1, 2 & 3' I do not see any use of the printOn version and there is no sender (except tests that I will remove :). Stef
6405
Age (days ago)
6405
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse