On Sun, Dec 19, 2004 at 06:44:33PM -0800, chromatic wrote:
> On Sun, 2004-12-19 at 20:25 -0600, Rod Adams wrote:
> > [snipped]
> > 
> > $x = 4;
> > $y = 7;
> > $z = 12;
> > $r = 4543;
> > $q = 121;
> > 
> > With a fixed width font, like all code editors use, all the =' like up, 
> > and I can quickly scan the var names to get to the one I want to change 
> > at that moment.
> 
> If you align the equals signs yourself with spaces, you can use variable
> names of different lengths (and possibly improved meaningfulness in
> actual factual code) too.
> 
> I'm only half-joking.  Vertical alignment makes a dramatic difference to
> readability.

> 
> -- c
> 


Speaking of alignement, my understanding is that the .[] operator,
allows spacing while [] does not:

    $a = @shortnm    .[0 ];
    $b = @longername .[42];
--
 stef

Reply via email to