From: matz@... (Yukihiro Matsumoto) Date: 2001-09-04T13:38:09+09:00 Subject: [ruby-talk:20838] Re: RCR: non-bang equivalent to []= Hi, In message "[ruby-talk:20834] Re: RCR: non-bang equivalent to []=" on 01/09/04, "Conrad Schneiker" writes: |> > 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! | |IIRC from previous discussions, isn't this precisely the convention that |Scheme uses? (IIRC, this is where Matz got the idea for his particular |variation.) It is the origin of the bang name idea, but in fact they are different. As Hal pointed out, Scheme's bang is the mark for self-modifying functions, on the other hand, Ruby's bang is the mark for "more dangarous alternative; handle with care". matz.