From: "Hal E. Fulton" Date: 2001-09-04T04:51:52+09:00 Subject: [ruby-talk:20808] Re: RCR: non-bang equivalent to []= ----- Original Message ----- From: Tobias Reif To: ruby-talk ML Sent: Monday, September 03, 2001 9:56 AM Subject: [ruby-talk:20780] Re: RCR: non-bang equivalent to []= > Kevin, > > > > Many of the Array methods are already bang-type methods, > > even though they don't have the bang: clear, delete, > > delete_at, delete_if, fill, pop, push, replace, shift, > > unshift. > > > I'd like to have bang and non-bang versions of each and every method. > The names should just differ in the !, like collect and collect! In my opinion, Ruby programs would look like spam then -- lots of exclamation points. And what about the [] method -- would you change this to []! also? Hal