Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: Golf: Improve this guy's fail . . . please!

by Boldra (Deacon)
on Jul 23, 2009 at 09:34 UTC ( #782604=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Golf: Improve this guy's fail . . . please!
in thread Golf: Improve this guy's fail . . . please!

This code is a huge improvement, except for the variable names!

You started with names like $total_chars and %ascii_counts, and ended up with $total and %hash. %hash and @array are about the worst variable names you can use.

You've come a long way very quickly, and kudos for taking the criticism well.



- Boldra


Comment on Re^5: Golf: Improve this guy's fail . . . please!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-08-30 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls