Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: My coding guidelines

by Abigail-II (Bishop)
on Nov 26, 2002 at 10:15 UTC ( #215813=note: print w/ replies, xml ) Need Help??

in reply to Re: My coding guidelines
in thread My coding guidelines

I wonder what is so strange about rule 24. The perlstyle manual page says: space around most operators. Which is what rule 24 is saying, but it's listing the exceptions. The reason I put space between ++ and -- and its operands is that those operators are "large" (two characters).

As for ->, it's a binary operator. I put whitespace around other binary operators, so why not ->? If you don't, you can get long blobs of text, without a resting place for the eyes. Perl should look like English, not German. ;-).


Comment on Re: My coding guidelines
Select or Download Code
Replies are listed 'Best First'.
Re^2: My coding guidelines
by Aristotle (Chancellor) on Nov 27, 2002 at 17:15 UTC
    But English is only my third language - while German is my second! :-) (Well, maybe you'd prefer me to code in Greek. :^) )

    Makeshifts last the longest.

      English isn't my first language either. But it's Larry's first language....


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2015-10-10 10:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls