Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Burned by precedence rules

by ikegami (Pope)
on Dec 23, 2008 at 19:39 UTC ( #732361=note: print w/replies, xml ) Need Help??


in reply to Burned by precedence rules

Do you avoid using and et al. unless inside parenthesis or in if-else?

Yes. I only used them when followed by next, last, return, die or some other flow control expression.

I wouldn't use them in expressions even if they had the same precedence as they non-text equivalents because visually distinguishing operators from surrounding identifiers is a good thing.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732361]
help
Chatterbox?
[Lady_Aleena]: marioroy, it is used in 24 other modules I wrote.
[Lady_Aleena]: GUH! I wrote a script better than I thought! 8)
[marioroy]: Wow. It's cool seeing Github coments "Update Monster.pm, Create Wild_hairs, Create alternate- PurpleOnGreen..., Then a location, Create Aleenia. Amazing, really. Thank you for sharing.
Discipulus when naming is clear and you know how to arrange the data, then coding it is a mere writing work

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-05-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?