Welcome to the Monastery | |
PerlMonks |
Re^3: ?: = Obfuscation?by throop (Chaplain) |
on Dec 01, 2006 at 22:10 UTC ( [id://587313]=note: print w/replies, xml ) | Need Help?? |
I like ?: when the args are short. I spent years as a LISP programmer. A programmer who has memorized the precedence table will write code that's understandable by others who have memorized the precedence table. Use parenthesis liberally. may work and is terse, but reads better to me. It's mostly the case that if I'm using an operator within the scope of ?: I'll parenthesize.
In Section
Meditations
|
|