Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

The wind chill was -20C this morning as I walked from my home down to the Pape TTC station in Toronto. I was wearing my usual winter parka (down-filled), shell, wool scarf, sweater, wool cap, gloves, wool socks and work boots. I was toasty, and didn't even have my hood up.

On my way to Pape station, I passed a young man waiting for the bus. He was dressed in a hoodie with the hood down, a thin scarf, no sweater, no hat, no gloves, and just sneakers. He looked cold. I pondered that as I crunched my way to work and use strict bubbled up from my sub-conscious.

Writing software without warnings is like going out in the winter without being dressed properly. You'll survive, but it's going to be uncomfortable pretty quickly, and possibly later on as well (dealing with a cold, or with long-term bugs that could have been found early by using strict).

If you live in Canada long enough, you learn to start wearing proper clothing -- the Canadian winter can be bloody cold. And if you write software long enough, you start using warnings.

Trust me -- it may not look as fashionable, but you'll have a warm feeling at the end of the day. :)

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


In reply to Using strict and dressing for the weather by talexb

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 exploiting the Monastery: (2)
As of 2024-04-26 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found