From: Trans Date: 2006-08-29T13:50:04+09:00 Subject: Re: Should Array.new(n, obj) be deprecated? Trans wrote: > E. Mark Ping wrote: > > In article <1156818017.639800.295490@m73g2000cwd.googlegroups.com>, > > Trans wrote: > > >What wrong with > > > > > > [obj] * n > > > > It has the same behavior as in the first post. Try it with a hash. > > That's my point. It does the same thing is a much more commonluy used > idiom --becasue it is symbolically recogizable. The constructor on the > other hand has no inherint sense. Let me complete that thought. What does make sense of course is: Array.new( obj0, obj1, obj2, ... ) T.