Re: best way to use the USE statement



Kamaraju Kusumanchi <kk288@xxxxxxxxxxx> wrote:

[Is it better to put USE statements at the module level or in each
procedure]

This has been discussed here before, and I recall different people
having different viewpoints on the matter. I don't think there is a
universally accepted "best" way. I don't recall that I convinced
everyone that my preferences were best, and I'm sure that the opposing
camp didn't convince me of theirs. I think that all you can do is
consider the issues and then decide for yourself which way best works
for you.

For what it is worth, I'm in the camp of putting all the USE statements
at the top of the module. My main reason is that I consider it to be
part of the high-level information to know what other modules this one
might have dependencies on. I find that more important than knowing
which modules each subroutine depends on. After all, I have to compile
the module as a whole - not each subroutine separately.

But several people whose judgement I respect are in the other camp.

--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.



Relevant Pages

  • Re: stePH has a new routine! It is not much for comedy, but he is working on improving it!
    ... >Which bit do you think we should be taking a closer look *at*? ... >the camp bits, but that's not the same - I can't recall one scene where ... on the "Ghost Light" DVD. ...
    (rec.arts.drwho)
  • Re: 3 1/2 yo and day camp
    ... Today is DS' first day at a week long day camp and it has not gone so ... later to say that he had a major crying fit that got the other kids ... He has to compete for your ... I would not attempt to convince him to enjoy going or ...
    (misc.kids)
  • Re: Camps (was Re: OK. I am impressed.)
    ... Counselor was Ron Brown (if I recall his first name correctly), ... Also was into amateur radio - one of the counselors for that area was a guy named Lenny Rachlin, and he was the operator of the camp ham radio station. ...
    (rec.humor.jewish)
  • Re: OT Fascists and Nazis
    ... unless you lie to distract from the real you. ... I don't recall ever discussing my POV on any number of issues here. ... You can try to convince ...
    (rec.outdoors.rv-travel)
  • Shutter Island redux,restart thread
    ... I just finished it and put me firmly into the liked it camp. ... reviews, but what book written by a mere mortal possibly could? ... can't recall that anyone actively disliked the book. ... I wonder whatever happened with the proposed Columbia film that was ...
    (rec.arts.mystery)