Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: highest value in hash (virtual teddybear)

by Anonymous Monk
on Mar 31, 2013 at 04:41 UTC ( #1026333=note: print w/replies, xml ) Need Help??


in reply to Re^2: highest value in hash (key is not value)
in thread highest value in hash

Wow, I was trying to figure that out for the longest time and now that you pointed out what I was doing it's so obviouse. duh! Thanks everyone!

No problemo :)

I used the virtual teddybear method

Basically, I read your program aloud , in my head (virtual), until i said "highest becomes key if highest lessthan value"

Actually I said "highest is" but "becomes" sounds better -- I'm not very disciplined when it comes to speaking code

Also known as teddy bear debugging , mirror debugging, empty room debugging, talking to yourself, Rubber Duck method of debugging, say it out loud George, sing into that hairbrush ...

  • Comment on Re^3: highest value in hash (virtual teddybear)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026333]
help
Chatterbox?
[Lady_Aleena]: geany may not support that.
[shmem]: I see that there is a plugin geany-plugin- codenav
[shmem]: maybe that supports ctags, check the documentation
[Lady_Aleena]: I'd have to talk to a geany person to see.
[Lady_Aleena]: Right now, I'm trying to decide whether I want to rewrite how variables are entered in the sub I'm working on.
[shmem]: wait, what? you want that person to read the documentation for you?
[Lady_Aleena]: I might have to go with options instead of a straight list.
[Discipulus]: if more than 3 go for named variables LA

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-04-27 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.