My favourite bit:
What I'd like to be able do in practice is teach one canonical Way To Do It, and leave the more advanced syntax for an advanced session, or for newcomers to discover in their own time.
and then, two paragraphs later:
Perl also has many simple little things like the unless and until keywords, which are self-explanatory and make life much easier, and the short statement if condition and statement foreach list formations.
So, he wants one way to do everything, then turns around and compliments syntactical sugar added to the language that simply provides alternate ways of doing things.
I'm sorry, but I have a hard time taking someone seriously when they cry for consistency ... inconsistently.
Mind you, I've taught a handful of people perl (not 50, more like fewer than 10) and never encountered any of the concerns he brings up. Then again, I bring up things like TMTOWTDI as a feature instead of as a wart of the language, and so those I talk to start to treat it as such. (I also point out that despite being more than one way to do things, that doesn't make all ways equal - which one is best may depend on what you're doing, etc.)
-
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.
|