I've always disliked having 1; at the bottom of my
modules so that the last statement returns true. I find it very easy
to miss and accidently remove, nor does it fit with my preferred
style of coding.
I'd like to know if it is acceptable to use return(1);
in its place. It seems to work just fine, but would like to know
if there are any differences or pitfalls in doing it this way.
Thanks in advance.
In reply to Is it okay to return(1) instead? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |