On 11/15/06, Abdulaziz Ghuloum <aghuloum_at_cs.indiana.edu> wrote:
> One sentence summary: The add-prefix and rename forms in libraries'
> import form are not necessary if local imports are provided.
I disagree. As a library user, I might want to use two libraries
which export the same names, and the uses might be spread out across a
file. Local imports would require importing those libraries several
times; prefixed imports would allow importing once with a prefix.
Furthermore, adding prefixes can be used as a form of documentation,
making it easier to track which module each import comes from.
While I wholly support the addition of local imports, I do not belive
it in any way diminishes the usefulness of renamed and prefixed
imports.
--
Carl Eastlund
Received on Thu Nov 16 2006 - 01:49:12 UTC