Bah, when I was first learning HTML, the book I started with just gave us the doctype, went on from there, and later got back to it with a better explanation-- that's what I'd do with the use strict, use warnings-- just tell people to stick them in there, add a sentence stating what they do and that they'll get more explained later, and you're good. No need to discuss it for two pages on a new tut.
Someone wrote: "But that doesn't mean I think we should encourage non-programmers to become programmers. I'm convinced good programmers are more or less born like that, and that they only need to learn to use the appropriate tools."
I'm a eugenicist myself, but even I wouldn't go that far. Watch out! I'm an idiot non-programmer who can add 2 and 2 and get 4, 5 or 6, and I'm going to use these plain-English tutorials to start desecrating the Perl language like you wouldn't believe! I will fill the nodes and cb with n00b questions and I will start out writing stupid teletubbie programs while I still don't know what I'm doing, and then some, and you won't stop me! I will learn a programming language, learn it well, and no I wasn't born that way.
The language style didn't come across to me as patronising but rather easy-going and laid back-- the same style I see in the Camel book, actually. It's friendly, straight-forward and yes, is written for people like me who were not born with programming genes.
Nice beginning tutorial, Brian. Keep writing them.
-
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.
|