Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
    You mean the one from perlfaq5?

Well, yes; I don't know of any others.

    do you honestly feel that your solutions are any better if your target audience is a perl beginner?

[blink] Perhaps I'm being a tad sensitive, but I feel like you're taking an aggressive tone here and in the rest of your reply. Did I flick you on the raw somewhere? If so, I apologize; my post here was not meant as an insult to anyone.

To answer your question: my solution was not intended as a replacement for the code in the FAQ - I'd already said that the example was intended to demonstrate a point (one which my code does not demonstrate.) It is not intended for beginners; my point was that I would never use the regex in the example since it is an obfuscated, baroque, and unnecessarily tortuous approach to solving a simple problem, and that there are more readable, reasonable ways to do it. My only reason for mentioning beginners at all was to note that the code in the FAQ is not suitable for them; I did not say or imply that mine is. As for the rest of your reply... please feel free to explain to me why all of these things are not done in that FAQ, and why I should do them. If your demands are reasonable, then the FAQ should have followed them, no?

I assure you, by the way, that if I was writing for beginners, I would do so quite well - perhaps better than anyone who chooses to criticize me on that topic. I'm a teacher, and have been for most of career; that is, I specialize in explaining things to beginners. Which is explicitly not what I was doing here.

The bit of code that I posted here simply explored an approach, with a possible variation, that I thought was reasonable for the problem. Again, if was not intended to be an insult or an attack on anyone, and I'm sorry that you appear to be taking it that way.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf

In reply to Re^2: Commifying sensibly by oko1
in thread Commifying sensibly by oko1

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 examining the Monastery: (7)
As of 2024-04-18 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found