Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: When to use Prototypes?

by Aristotle (Chancellor)
on Nov 10, 2001 at 21:18 UTC ( #124569=note: print w/replies, xml ) Need Help??


in reply to Re: When to use Prototypes?
in thread When to use Prototypes?

I don't think it does much for readability, since at best you see the projected type of argument, but still have to look the meaning of each of them. Putting a cleanly written and commented local variable assignment like my ($ip, $port, $use_udp, $msg_array) = @_; at the top of a function will probably help a lot more.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://124569]
help
Chatterbox?
[Discipulus]: i dream to restart kung-fu someday: i studied only 2-3 years of win-chun, tang-lang and a bit of shaolin.. the better preparation ever!
[Discipulus]: ah and hung-har too

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-11-22 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?