When you're writing code, keep it simple and clear. Nothing else really matters.
If you want to confine a certain variable to a limited scope, it's fine to use "{}" braces to create a block, put "my" variable declarations inside that block and go-to-town. The variables will be confined to the static scope of that block. But do that only when that's clear.
“Obfuscations” are for idle-amusement only!
In reply to Re: creating a variable in an if statement
by Anonymous Monk
in thread creating a variable in an if statement
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |