|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
There are advantages in the: approach, mainly because if I want to throw a few more statements into the "if" block, I can do it simply. I also find having the code structured that way indicates clearly that a conditional is involved, and by seeing what the condition is, it can often provide an indication of why something is being done. For example: indicates we are dealing with low value accounts. But then again, we are talking subjective matters here. An alternative way, and in my mind just as readible, is:
As a side line, I recall being told once "Fortran programmers can write fortran programs in any language." In reply to (Maclir)Re: (dws)Re: Perverse Unreadable Code
by Maclir
|
|