"John Salerno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thomas Bartkus wrote: > > > 1) His code body will be less likely to cause migrane headaches when he > > tries to read and interpret what he did a year from now. If you are trying > > to figure out what is going on with the logic, user names and passwords can > > be so much chaff your brain needs to wade through in order to get to the > > central idea. > > > > 2) The coder won't have to repeat himself if he needs to re-open the > > databases. > > Ah, that makes sense! It seemed like an unnecessary step, but in some > ways it might end up being more efficient.
For the machine - it *is* an unnecessary step. For the human being who must write and maintain code, it is quite a useful step. And a very excellent coding habit to get into ;-) Thomas Bartkus -- http://mail.python.org/mailman/listinfo/python-list