Hi,
I would like to know why it is implemented like that:
Collection>>mooseDisplayStringOn: stream
stream print: self size.
self isEmpty
ifTrue: [ stream nextPutAll: ' items' ].
self size = 1
ifTrue: [ stream nextPutAll: ' item' ].
self size > 1
ifTrue: [ stream nextPutAll: ' items' ].
Because we get this kind of result:
Which is not very easy to read… Can I change it or is there a performance issue?
Cheers,
Vincent BLONDEAU
RMOD Team
Bât B - Bureau 306
Centre de recherche
Lille-Nord Europe
+33 (0)3 59 35 87 45
Software Architects
SDCO
ZI A, rue de la Pointe
59113 SECLIN
+33.(0)3.28.54.41.54
vincent.blondeau@worldline.com