Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

Abigail


Comment on Re: Perl 6 Whitespace Issues
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-07-30 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls