From: "David A. Black" Date: 2005-01-31T11:22:03+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby Hi -- On Mon, 31 Jan 2005, Aredridel wrote: > On Fri, 2005-01-28 at 13:35 +0900, Navindra Umanee wrote: >> 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. > > Ugly for that case. Gorgeous for the #{myvar.upcase} case, I think. Indeed. And the realization that Ruby's interpolation goes beyond variables, and that the "extra" symbols aren't extra, is one of the traditional rites of passage :-) David -- David A. Black dblack@wobblini.net