Why does the technical programmers doesn't import all?
Why does the technical programmers doesn't import all from math using the mentioned command?
Example: from math import *
1 answers ( 0 marked as helpful)
Hi Svetoslav!
Because of a few types of reasons I'll try to simplify below.
1) in case the number of objects being imported is big, it can be inefficient
2) it does not specifically indicate which objects you intend to use; so it reduces the readability of your code
3) because it deters some software tools from detecting errors in your code.
Hope this helps.
Best,
Martin
Best,
Martin