Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Perl 6 Whitespace Issues

by Abigail-II (Bishop)
on May 07, 2004 at 21:40 UTC ( #351616=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Perl 6 Whitespace Issues
in thread How to Sell Perl 6

How do you feel about the %hash .{key} workaround?
About as bad as %hash{key}. The dot there is unnatural, and doesn't make the code more clear.
I think you are really in the minority, and asking you to slightly adapt your style makes sense there.
Minority or not, that doesn't matter. Larry's view are clear - there's no chance in hell he's going to change his mind on this one. But for me it's a big deal - a very big deal, and it doesn't become a lesser deal whether I'm in the minority, the majority, or alone. For me the issue is big enough that I don't see myself ever programming in perl6, and hence I ain't going to "sell" perl6.
On the other issue, the GNU coding style calls for spaces between function name and parenthesized argument list
For me, there's hardly a difference between indexing in an array or hash, and calling a subroutine. And, from the point of the expression where the indexed element, or the subroutine value is used, there is no difference. Indexing in an array or hash is just a call to a subroutine with one argument. Which is why I put whitespace between an array or hash name and its index, and I put whitespace between a function name and its argument(s).


Comment on Re: Perl 6 Whitespace Issues
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://351616]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2015-11-27 02:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (712 votes), past polls