I much prefer the explicit version.
I would be inclined to code it like that even if the module didn't require me to do so. If nothing else, it would avoid useless method calls.
I don't think it would bother me if the module didn't enforce that though. It seems to be in the spirit of giving enough rope... and I might be glad of it when needing a quickie throwaway script or a one-liner.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: OO style question: how much information to hide?
by sauoq
in thread OO style question: how much information to hide?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |