Richard A. O'Keefe
ok at cs.otago.ac.nz
Tue Jun 22 03:39:30 UTC 2004
rsbohn at rocketmail.com wrote:
A pythonism: $e * 4 -> 'eeee'."
Urk. We normally expect * to be symmetric. Is this?
We already have
(String new: 4) atAllPut: $e; yourself
using only familiar methods, or even better,
String new: 4 withAll: $e
using an existing method designed for this purpose. I think it's better
to use #new:withAll: .
More information about the Squeak-dev