Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Is it necessary to wear safety restraints when driving a car or operating machinery? I mean, if you don't plan on getting in an accident, then who needs safety equipment, right?

What happens, though, when you are diving perfectly safely, then someone comes along and runs a light, smashing into you? Now is when you _need_ the safety belt. The problem is, it's too late to put it on.

So, what happens when you write a perfect 10,000 line program without scoping? It's a perfect program. What happens in six months when you need to help track down a typo someone else made in the code and you don't quite recall what each of those 10,000 lines does (because you've worked on two new major projects and four major maintenance projects in the meantime, as well as daily tweaks and bug hunts)? Now is when you _need_ scoping...

Chris

In reply to Re: using 'my' by mr_mischief
in thread using 'my' by kiat

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 musing on the Monastery: (5)
As of 2024-04-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found