Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is function level import considered bad practice?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: