From: Joel VanderWerf Date: 2009-08-18T06:16:32+09:00 Subject: Re: start_with? Does someone need a grammar lesson? Dominik Honnef wrote: > 7stud -- writes: > > >> if mystring.start_with?("bad grammar") >> >> I'm hesitant to use start_with?() in my code. It makes me look >> uneducated. :( > > mystring.start_with? (or include? or respond_to? and so on) are best > liked when read and understood as a question: > > do you [mystring] start with "bad grammar"? Or does mystring start with "bad grammar"? maybe we should lobby to replace "if" with "does" :P -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407