>>>>> "W" == William Djaja Tjokroaminata <billtj / y.glue.umd.edu> writes:

W> I make a hypothesis that if we change the behavior of Array.new (using
W> Object#dup or clone), it will not break many existing codes, because for
W> people who wrote a = Array.new (n, 'a') it still works while I don't think

 no, you have the same problem with String

pigeon% ruby -e 'a = Array.new(2, "a"); a[0][0] = "b"; p a'
["b", "b"]
pigeon% 


Guy Decoux