[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03852] Re: Array.uniq! returning nil

From: matz@... (Yukihiro Matsumoto)
Date: 2000-07-06 02:55:43 UTC
List: ruby-talk #3852
Hi,

In message "[ruby-talk:03851] Re: Array.uniq! returning nil"
    on 00/07/06, "NAKAMURA, Hiroshi" <nahi@keynauts.com> writes:

|> Hmm, I thought I (we) came to the negative conclusion.

|Accoding Blade's nice looking threading view;
|http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/9052?9024-9551 ,
|I cannot find objection to [ruby-dev:9096] and [ruby-dev:9146].
|I thought that proposition could be accepted (for me, at least).

Didn't I raise objection?  Well, perhaps I forgot to say my opinion.

|Nishi-san's proposition in [ruby-dev:9096]:
|  String#gsub   => create substituted string and returns it.
|  String#gsub!  => substitutes itself and returns self
|  String#gsub!? => substitutes itself and returns if modification is done or not.
|  String#gsub?  => create substituted string and returns if modification is done or not. !?!?

I can agree with the possibility of the combination of modify/copy,
modified-or-unmodified-string/modified-string-or-nil.  But I don't
feel '?' is a good name sign for it.

							matz.

In This Thread