Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Oddly enough, I see a parallel to morality problems here. In college, philosophy professors would pose a problem like the following:

Your plane crashes in the jungle. Everyone lives, but is captured by rebels. The leader of the rebels asks you to kill one of the passengers. If you don't, he will kill them all. The question: do you kill someone? If so, how do you select the person?

I realized that all moral dilemmas that he came up with always stemmed from a previous immoral action over which you have no control. In the case of the problem above, the previous immoral action is the rebel leader deciding that some or all survivors will be murdered.

Though the parallel is tenuous, it's there.

In debugging, we are attempting to apply logic to a previous breakdown in our logic. It's the poor choices of ourselves or others that lead us down the path of debugging. Is there a universal logical approach to resolving breakdowns in logic, or is it more of an art?

I debug well, but I don't always succeed. Your comment "hackers gain insite into life by how they debug" is very applicable to me. Oftimes, when faced with my breakdowns in logic, I am tempted to just run to others for help (hence, some of my posts to Perl Monks). Sometimes, I just want an answer, rather than figure out what's going on. Hmmm... now I'm seeing parallels to religion. I'll stop now before this becomes a full-fledged rant.


In reply to RE: Debugging by Ovid
in thread Debugging by Crulx

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 admiring the Monastery: (5)
As of 2024-04-23 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found