Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
siika2000
· 15y ago · 0 comments
Why is function level import considered bad practice?
Comments
[–]
d0mine
15y ago
Deadlocking on the import lock might be introduced by an innocent code that uses a library with function level imports.
In general globals should be written at a global level.
[–]
dustingetz
15y ago
http://stackoverflow.com/questions/1699108/local-import-stat...