On Fri, Jan 21, 2011 at 12:12 PM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
>
> On Jan 21, 2011, at 02:53 , Robert Klemme wrote:
>
>> I'd rather use Array#delete_at because it is more efficient.
>
> Maybe it is just me... but when they're still using training wheels I tend to bias my advice towards correctness and form... not speed or efficiency.

Well, as I pointed out (maybe not clear enough) it's also more correct
because it will only remove the exact element at the draw position.
Array#delete potentially removes more (probably not in this particular
case but generally).

Cheers

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/