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

Re: Tricking Our Egos

by arhuman (Vicar)
on Feb 15, 2001 at 15:13 UTC ( #58599=note: print w/replies, xml ) Need Help??

in reply to Tricking Our Egos

Interesting point of view, especially the 'psychological' aspect ('fever' excuse).

And even If I'm sure it works, for my part I rather use a methodical approach :

1) Don't assume everything even OBVIOUS things
2) Find where the code begin to diverge from what is expected.
(I use a kind of dichotomic process with print to ensure that the values produced are those expected until I find the point where it begins to mess)
3) print is the coder's friend.
print everything possible during each step around the spot where you think the problem is...

But as I've discovered that the psychological aspect is VERY important.
I try to handle it like a challenge (finding bugs IS A GOAL); I've decided that coding with bug is normal(ie: I'm normal ;-) and that finding bug quickly is a skill...
This used with my formal method helps me to debug my code with pleasure (I'm improving my skills) and without a 'ego lock'...

As you see even if our excuse (for not being 'guilty' of finding a bug) is different the point is that we only have to manage to believe it, to prevent 'ego lock'...

Sorry but my poor english doesn't allow me to translate 'ego lock' efficiently, anyone got an idea?

Replies are listed 'Best First'.
Re: Re: Tricking Our Egos
by petral (Curate) on Feb 16, 2001 at 07:42 UTC
    'ego lock' is great. Maybe 'blinded by ego' or something would be more conventional, but it would not be an improvement.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2019-11-17 00:15 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (85 votes). Check out past polls.