Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
One of your points, Learn proper indentation, raises a problem. What's proper? I'd suggest that you re-word that to just Lean indentation! Why the change? Well as you progress as a programmer, you'll notice that there are certain things that seem to provoke much outcry. Formatting code (the hows and such...) is almost as sensative as what editor to use or even what language to use. When asked, I usually recommend what I call the Zen solution. To shorten the overly long lecture, I point out that a possibly trite but still useful summary of Zen and the Art of Archery by Eugen Herrigel, is "To hit the target, let go of the arrow!" I often further condense that to just "Let go!" Point being that holding on to some things, gets in the way of other often more important things. In Yoda-ease, Proper, important is not, indentation is.

--hsm

"Never try to teach a pig to sing...it wastes your time and it annoys the pig."

In reply to Re: Value of "RE"-coding for the newbie by hsmyers
in thread Value of "RE"-coding for the newbie by Limbic~Region

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: (6)
As of 2024-04-20 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found