If there is one thing I have learned from my short time here at Perl Monks (and there must be a million but probably the most important thing), it has to be the value of using strict and warnings. In many many posts on the SOPW area, I all to often see the recommendation to use strict and warnings to point the user in the right direction. I for one can't believe that people still don't use them. I do sometimes find it a little difficult to understand the error that is reported but sure as hell I'll know there is a problem and if I don't understand the error I will be pointed to the line that has the problem. I have no formal background in programming and often take ages to find where I have made a silly if not bad mistake in my code. Using strict and warnings definately has helped me re-look at a LOT of my code and as a result I am starting to understand more and hopefully write better code. So for my two cents, use strict and warnings as a newbie...It has definately helped me.
-----
Of all the things I've lost in my life, its my mind I miss the most.
Edited:
~Mon Sep 16 16:28:53 2002 (GMT)
by footpad: Moved to Meditations, per Consideration.
-
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.
|