in reply to Re: package function calling
in thread package function calling

Ok maybe I should rephrase to ask which method is the "best practice" for doing that? I was asking just out of curiosity...since it is better to do something the right way the first time :-)

Replies are listed 'Best First'.
Re^3: package function calling
by halley (Prior) on Jul 12, 2005 at 14:15 UTC
    If the symbol is imported, it's imported for a reason. This is typically for readability or convenience. Programs are usually more clear if they read smoothly without a lot of extra words and punctuation sprinkled in.

    However, if by being extra-verbose, your program gains clarity for those who are reading it, then go ahead. This can happen when more than one package might have a routine by similar names. If two packages have identical routine names, you might need to clarify the situation by specifying the package name.

    --
    [ e d @ h a l l e y . c c ]