On Mon, May 01, 2006 at 01:15:58PM +0100, Smylers wrote:
> Jonathan Lang writes:
>
> > Larry Wall wrote:
> >
> > > I don't see much downside to \. as a long dot.
> Folks want to be able to line stuff up, and to split statements over
> multiple lines. This is now possible.
You know, I'm still wondering who these folks are. Seriously.
Maybe you all write your code differently to me, but looking through a
load of my OO code I had trouble finding three method calls in a row to
any methods on any objects, let alone six calls to the same method name
on different objects.
If I saw code like
$xyzzy.foo();
$fooz\.foo();
$foo\ .foo();
$fa\ .foo();
$and_a_long_one_I_still_want_to_align\
.foo();
$etc\ .foo();
I'd probably take that as a pretty strong clue that I should really have
written
$_.foo for @things_to_foo;
or something.
I like lining up my code as much as the next programmer, and probably a
lot more, but I just don't see the need for this syntax which seems
ugly, confusing and unnecessary.
But then again, as I said, I really don't see the problem that is being
solved.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net