Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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).


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 having an uproarious good time at the Monastery: (3)
As of 2016-10-20 22:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (283 votes). Check out past polls.