Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Move along, nothing to see here . . .

by mertserger (Curate)
on Jan 23, 2012 at 10:12 UTC ( #949354=note: print w/replies, xml ) Need Help??

in reply to Move along, nothing to see here . . .

"Once again, stumped for too long, yet writing this out worked me through the steps to resolve this question for myself."

I know that feeling - the numbers of times I have started to post a question to Perl Monks asking for help, only to find the process of writing the problem down helped me see the answer.

  • Comment on Re: Move along, nothing to see here . . .

Replies are listed 'Best First'.
Re^2: Move along, nothing to see here . . .
by Utilitarian (Vicar) on Jan 23, 2012 at 13:56 UTC
    From "The Practice of Programming" by Brian W Kernighan & Rob Pike:

    Another effective debugging technique is to explain your code to someone else. This will often cause you to explain the bug to yourself. Sometimes it takes no more than a few sentences, followed by an embarrassed "Never mind. I see what's wrong. Sorry to bother you." This works remarkably well; you can even use non-programmers as listeners. One university computer centre kept a teddy bear near the help desk. Students with mysterious bugs were required to explain them to the bear before they could speak to a human counsellor.

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

      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 ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949354]
[Discipulus]: i still suspect english has some logical 'curvature/ crookedness' that has and will have a big impact over programming
[Discipulus]: if you refere to gestures ++choroba
Discipulus still has problem with 'until' beyond simplest cases
[choroba]: ;-)
[Discipulus]: and larry studied natural languages too
[choroba]: Czechs have problems with unless
[Lady_Aleena]: Are you all sick of me discussing my reorganization?
[Discipulus]: Untillian Headache or about the semantic of until

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-05-27 20:23 GMT
Find Nodes?
    Voting Booth?