From: Joseph Phillips Date: 2011-08-01T05:06:21+09:00 Subject: A question on style... --0-626421913-1312142759=:65198 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone,=0A=0ALong time developer here, new to Ruby.=0A=0AI have a simp= le, single file Ruby program that randomly chooses a response to input text= . I have a method to return the the array of responses, which I call furthe= r into the file in my main routine. This is the method:=0A=0Adef get_respon= ses=0A=A0=A0=A0 [=0A=A0=A0=A0 =A0=A0=A0 "Got it.",=0A=A0=A0=A0 =A0=A0=A0 "I= nteresting. I've made a note of that.",=0A=A0=A0=A0 =A0=A0=A0 "Noted.",=0A= =A0=A0=A0 =A0=A0=A0 "Right.",=0A=A0=A0=A0 =A0=A0=A0 "I see.",=0A=A0=A0=A0 = =A0=A0=A0 "As you say."=0A=A0=A0=A0 ]=0Aend=0A=0AIs this conventional? Is t= here any benefit in late acquisition of this array, or would it be normal t= o just assign it to a variable up front?=0A=0A=0AThanks in advance,=0A=0AJo= e=0A=0A=A0=0A=0A"From rivers of sorrow, to oceans deep with hope.=0AI have = travelled them.=0ANow there's no turning back.=0AThe limit, the sky."=0A=0A= =0A- Chuck Schuldiner (RIP) --0-626421913-1312142759=:65198--