Keep It Simple, Stupid | |
PerlMonks |
Re: Perl Prototypesby Dominus (Parson) |
on Nov 02, 2002 at 20:42 UTC ( [id://209989]=note: print w/replies, xml ) | Need Help?? |
Prototypes are not for safety or security or for type checking.
They are to specify that a function has unusual calling
semantics that emulate those of some Perl built-in function.
Putting prototypes in your code because you think it is safer is like pouring chocolate pudding into your gas tank because you think it is safer.
--
In Section
Meditations
|
|