Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Perl 6 Whitespace Issues

by PhilHibbs (Hermit)
on Aug 10, 2004 at 17:13 UTC ( #381657=note: print w/replies, xml ) Need Help??

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

On the other issue, the GNU coding style calls for spaces between function name and parenthesized argument list, and is used by a great many people (though not by me except where required by local standards). I imagine there would be an uproar if perl6 were released only with a GPL incompatible license. I regret there isn't a similar uproar over this issue.
Huh? The GNU coding style is not mandatory for GPL projects. It may be mandatory for GNU projects, but Perl is not part of the GNU Project, is it?

Replies are listed 'Best First'.
Re^4: Perl 6 Whitespace Issues
by ysth (Canon) on Aug 10, 2004 at 17:19 UTC
    The GNU coding style is not mandatory for GPL projects.
    I wasn't saying it was. In fact, the spaces are just a recommendation and aren't even mandatory for GNU projects. I was making an analogy.

    Based on conversation with TimToady in the cb today, it sounds like this misfeature has been reconsidered. Update: apparently not :(.

      Do you mean to say that Abigail's concerns have been addressed? I must say I don't like the idea of code changing meaning from Perl 5 to Perl 6, but neither could I get myself worked up about this particular instance, because I find print length ($foo) + 1; to be ugly. I don't like the GNU bracing style either.
        It is still the case that a space between a function name and the parentheses forces it to be treated as a list operator, so there's no joy for Abigail on that point. What has been resolved is the attempt to treat methods the same way, which didn't work so well. Methods are now treated differently from functions, and are assumed to have no arguments unless the next character is a parenthesis indicating an argument list, or a colon indicating an adverb. I just posted a message to perl6-language explaining this in excruciating detail, so I won't repeat it all here. I'd give you a link but it hasn't come through the gauntlet just yet...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://381657]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2018-02-19 09:03 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (260 votes). Check out past polls.