From: Bill Kelly Date: 2005-01-28T14:29:34+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby From: "Navindra Umanee" > Zach Dennis wrote: > > - you can use string interpolation, ex: "x: #{@myvar}" instead of > > having to say "x:" + myvar' > > Ruby seems to lose here. The syntax #{@myvar} is a rare case of > ugliness. >> @thing = "powdered toast" => "powdered toast" >> "we're all out of #@thing!!!" => "we're all out of powdered toast!!!" :) Also comes in " #$thing " flavor. :) Regards, Bill