develooper Front page | perl.perl6.language | Postings from April 2006

Re: A shorter long dot

Thread Previous | Thread Next
From:
Gaal Yahas
Date:
April 30, 2006 06:07
Subject:
Re: A shorter long dot
Message ID:
20060430130512.GZ26041@sike.forum2.org
> I don't think it's ugly. It's not any less tidy.
> 
>     $xyzzy.foo()   $xyzzy.foo()
>     $fooz.:foo()   $fooz.:foo()
>     $foo._:foo()   $foo. :foo()
>     $da.__:foo()   $fa.  :foo()
> 
> My variable names aren't so long that I'm likely to have
> foo._______:bar, and $foo.__:bar is clean.

But it doesn't work across lines:

      $xyzzy.foo()
      $fooz.:foo()
      $foo. :foo()
      $fa.  :foo()
      $and_a_long_one_I_still_want_to_align.
            :foo()
      $etc. :foo()

-- 
Gaal Yahas <gaal@forum2.org>
http://gaal.livejournal.com/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About