Python has a couple of “no-nos”, which are generally bad practices and shouldn’t be used. What do you think, are people overreacting?
from module import *
(Wild Card Import)- Go right ahead!
- Try to avoid, but OK in some scenarios
- Avoid at all costs!
0 voters
open()
outside of with
statement- Go right ahead!
- Try to avoid, but OK in some scenarios
- Avoid at all costs!
0 voters
eval(input())
- Go right ahead!
- Try to avoid, but OK in some scenarios
- Avoid at all costs!
0 voters
os.system()
commands- Go right ahead!
- Try to avoid, but OK in some scenarios
- Avoid at all costs!
0 voters
I might add some more polls later, that’s all I can think of for right now. If you have some suggestions please reply!