in reply to Re: Re: How to Sell Perl 6
in thread How to Sell Perl 6
After reading through Apocalypse 12, I finally started to get a handle on Abigail-II's concern, but I can't buy the argument. The vast majority of Perl code that I see does not use whitespace in quite the way Abigail-II does:
%hash {foo} = 'bar'; # illegal in Perl 6, as Abigail points out # versus: %hash{foo} = 'bar'; # what the rest of the world does
Admittedly, some people might find this to be a minor annoyance. Further, sometimes programmers do what Abigail does when trying to format a bunch of variables neatly. However, you can get around that if you really need to (IIRC):
%hash .{foo} = 'bar'; # note the dotThis minor inconvenience seems a small price to pay for the benefits we gain. Many of those benefits, in fact, are involved with giving Perl a powerful, robust OO model. This is one of Abigail's main complaints about Perl 5 -- and a reasonable one at that -- so I'm rather suprised that there's not more acceptance of the minor inconvenience. That's why I'm a bit confused about what Abigail's objections really are because I can't see this as being a serious issue.
Cheers,
Ovid
New address of my CGI Course.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl 6 Whitespace Issues
by adrianh (Chancellor) on May 04, 2004 at 23:05 UTC | |
by TimToady (Parson) on Aug 10, 2004 at 18:00 UTC | |
Re: Perl 6 Whitespace Issues
by Abigail-II (Bishop) on May 07, 2004 at 16:53 UTC | |
by ysth (Canon) on May 07, 2004 at 17:12 UTC | |
by Abigail-II (Bishop) on May 07, 2004 at 21:40 UTC | |
by PhilHibbs (Hermit) on Aug 10, 2004 at 17:13 UTC | |
by ysth (Canon) on Aug 10, 2004 at 17:19 UTC | |
by PhilHibbs (Hermit) on Aug 10, 2004 at 17:26 UTC | |
|