Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Re: Non-destructive array processing

by demerphq (Chancellor)
on Jan 22, 2003 at 00:59 UTC ( #228905=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Non-destructive array processing
in thread Non-destructive array processing

I do of course add proper comments

I think the point is that its better not to have to comment at all. If the code looks like it does what it does then you dont need a comment. Plus comments get out of date sometimes and then cause confusion. I realize that a well chosen comment can be extremely useful, but I think you know what I mean.

*shrug* Its a nice trick though for some things. :-) Although Ive usually used it as named routine.

sub aliased_array { \@_ }

--- demerphq
my friends call me, usually because I'm late....


Comment on Re: Re: Re: Re: Non-destructive array processing
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://228905]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-07-04 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls