Re:Simple Dockerfile examples are often broken by default
by zrobotics on Tuesday May 28, 2019 @06:47PM
(#20035166)
But isn't something like
essentially equivalent to my C++ example? They're bad practices in both languages. Thankfully python examples seem to be better in this regard, since I don't recall seeing wildcard imports in any of the tutorials or references I've used.
[ Parent
| on HN ]
Re:Simple Dockerfile examples are often broken by default
by rcfox on Tuesday May 28, 2019 @07:15PM
(#20035354)
Yes, and it does make code more difficult to read. I've looked at a fair amount of Python code, and it is very rare to see import * in the wild.
On the other hand, import * is nice to have in a repl.