From: Hal Fulton Date: 2006-08-13T08:48:55+09:00 Subject: Re: Simple question regarding hashes Chad Perrin wrote: > On Sun, Aug 13, 2006 at 03:54:42AM +0900, Rick DeNatale wrote: > >>For the newbies, note that %w{a b c} is an array literal equivalent to >>["a", "b", "c"] but more sparing on the fingers pushing the keys. > > > Something I've been wondering for a while, now . . . > > Is there any particular reason that the traditional approach seems to be > to use %w{a b c} rather than %w[a b c] (the latter of which seems even > more sparing of the fingers)? I assume it's individual preference. I use (square) brackets myself for that reason. I think some non-US keyboards allow braces without shifting. Hal