Yes,, I agree with you. Thanks for describing it. MOhammad On Thu, 2005-08-04 at 03:51 +0900, Bill Atkins wrote: > It's generally better practice to use "__send__" to preven name clashes with > methods named "send". Using #__send__ helps ensure that you're actually > sending a message to the object rather than calling a user-defined method > that does something totally different (like Socket#send in the standard > library). > > Bill > > On 8/3/05, Mohammad Khan <mkhan / lextranet.com> wrote: > > > > On Tue, 2005-08-02 at 19:09 +0900, Florian Frank wrote: > > > On 2005-08-02 16:26:04 +0900, EdUarDo wrote: > > > > francisrammeloo / hotmail.com wrote: > > > > >When should you use underscores to > > > > >separate words in variable names or > > > > >function definitions? Always? > > > > > > > > Never, I use capital letters to separate words. > > > > > > I use spaces to separate words: > > > > > > class A > > > define_method('foo bar') do > > > 'foo bar' > > > end > > > end > > > A.new.__send__ 'foo bar' > > > > why not, just A.new.send 'foo bar' ? > > > > MOhammad > > > > > > > > > > I think, you should use my way, too. > > > > > > > > > > -- Mohammad Khan <mkhan / lextranet.com> Legal Computer Solutions, Inc.