Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I guess I was trying to say that I don't think that permitting cut'n'paste is itself the motivating factor for the change. I got the impression from Damian's comments that it's about reducing one factor that might daunt (does daunt?) Veebians, Javanese, etc. when trying to use Perl, by giving in to the common convention.

Also, now that I think about it, I don't think there's anything wrong with using example code, and I don't think that's the same as cargo cult. Everyone does it from time to time (raise your hand if you own the Cookbook) especially when starting out on a new topic. The question is, will you stop with that? Will you let the example persist unmodified into production, without bothering to figure out what it's doing?

I think this is mostly a matter who you are - whether you've got the drive to understand, and take pride in your work. I think it was Socrates who said "The unexamined code is not worth executing", but there are plenty of people who wouldn't properly examine their code no matter what language they're using. Making conversion of VB code into Perl easier, by itself, IMHO, won't encourage cargo cult any more than the Cookbook does now.

-- Frag.


In reply to Re: Re: How I Learned to Stop Worrying and Tolerate the Dot by frag
in thread Dots and cargo-cult programming by bikeNomad

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 avoiding work at the Monastery: (3)
As of 2024-04-20 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found