Anyhow, I am questioning the use of prototypes and perhaps my understanding of their purpose in perl. After reading a little on the subject and considering some things mentioned here, I am just uncertain if I should use them or not.
In other programming experience I had developed the opinion that protypes were a good thing as they provide usage enforcement. Plus IMHO a list of subs with their parameters at the beginning of a file gives me a quick insight, i.e. aiding the understanding of the program or module.
However, if I understand what it being said in this post then I'd think twice about using prototypes if performance is at issue.
Any guidance here would be appreciated.
I apologize in advance if I have completely misunderstood.
Thanks
Edited link to PM canonical form at author's req. - dvergin 2003-08-31
In reply to Prototyping Subs: Good,Bad,Indifferent by knexus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |