Example: Remove the prototype from this implementation of zip and then modify the code to compensate and you get a much less readable and useable function.
in reply to Re: Gratuitous use of Perl Prototypes
in thread Gratuitous use of Perl Prototypes
I'd argue that zip() isn't that readable to begin with! *grins* Plus, can't you use some variant of reduce() or mapcar() to achieve the same thing?
Also, isn't the subref prototype prone to memory leaks? I thought that's why we don't use the try/catch implementation in Error ...
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.