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...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||