From: George Date: 2006-09-30T00:40:17+09:00 Subject: Re: String starts? and ends? methods Rick DeNatale wrote: > We wouldn't say > > Give me my nine-iron, if does my bag have my nine-iron. > > In situ which of these sounds better to the English speaker? > > do_something if a.start_with?('foo') > do_something if a.respond_to?(:fred) > do_something if a.include?(:joe) > > or > > do_something if a.starts_with?('foo') > do_something if a.responds_to?(:fred) > do_something if a.includes?(:joe) This is probably a consequence of Matz being Japanese. We should be grateful that he used English at all!