From: "Aleksi Niemelä" Date: 2000-07-28T15:10:20+02:00 Subject: [ruby-talk:04252] Re: TABWTDI and Hash.new([]) > I seems to me that we could actually do it Perl's way (but better ;-) > with not too much each effort. Me too :). But I stopped thinking when I realized I haven't thought about the consequences for consistency. How about Arrays? Should they be automatically resized (enlarged) when one says: a = Array.new(2, 42, CREATENEWBYDEFAULT) #=> a = [42, 42] puts a[4] #=> a = [42,42,42,42,42] After this I didn't dare to continue farther. Maybe there are no cases after this, dunno. - Aleksi