-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
refactorLong-term projects to revise existing machineryLong-term projects to revise existing machinery
Description
using the wildcard import can introduce problems when debugging. it puts objects into scope without being declared or assigned, and hunting those down can be difficult. this can be even worse if multiple imports have name collisions.
for example, instead of: delphi_emr_hosp.constants import *
we can use: delphi_emr_hosp.constants import NA, SIGNALS
or even: from delphi_emr_hosp import constants as c # then use c.NA and c.SIGNALS
the choice is up to the implementer for brevity's or readability's sake.
there are many of these in the repo
Metadata
Metadata
Assignees
Labels
refactorLong-term projects to revise existing machineryLong-term projects to revise existing machinery