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 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
|
|