Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

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

As I mentioned, the copying and pasting was referring to, in this example, writing stored procs. ie. If I'm writing a proc where I have the query:

SELECT s.first_name, s.last_name, s.date_of_birth, tm.highest_mark
FROM T_STUDENT s, T_TEST_MARKS tm
...etc...

And then later I want to do another query using some of the same fields, I used to retype the field and table names, even though copying and pasting them would be much faster (of course :). I certainly wouldn't keep copying and pasting functions or other "I-want-to-be-in-a-module" types of thingies into several different scripts/programs/whatever you want to call them. After all, that's what modules are for. Not to mention that copying and pasting code (with the idea "hey, this almost does what I want, I'll just c/p it here and make some changes!") is very dangerous. :)

-- mothra


In reply to Re: Re (tilly) 1: Development Speed and Productivity by mothra
in thread Development Speed and Productivity by mothra

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: (4)
As of 2024-04-19 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found