Skip to content

Use selective imports #5970

@MichaelChirico

Description

@MichaelChirico

import(utils)

In general it's preferable (perhaps just IMO) to import selectively vs. blanket import(pkg). Blanket imports risk unintended collisions, especially as packages evolve (add+remove functions), though the risk for the case of default packages (methods/utils/stats) is more borderline.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions