Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I really like your idea and will certainly try it! If I can still fool myself by setting my watch fast then your trick is sure to work on me.

One thing that I learned long ago from a venerable old C hacker I worked for was the simple yet for me effective admonition that goes something like: "never stop at one bug" - I can still hear this in my head when I'm debugging (and no, the meds haven't helped ;-)! I have evolved two ideas from this:

  • if you're reading code and see something wrong (or you think is wrong), don't just "fix" it (possibly breaking it or something else more in the process) but keep reading until you fully understand what is going on.
  • even if you do fully understand a bug and fix it, keep looking as there could be more than one (well not in my code but there are people... ;-)
This was great advice back when compiling almost anything was at least a "get a coffee" event, if not a "come back after lunch" event, but I think this approach still saves me time even today when most of my stuff compiles in seconds. I often see people find a bug/error, edit the code to fix that one thing, then re-compile/run to get the next bug/error... that gets me cranky!

--
I'd like to be able to assign to an luser


In reply to Re: Tricking Our Egos by Albannach
in thread Tricking Our Egos by dws

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found