3 ms·
> And refuses to compile further, because... it needs to import that package anyway? Why? Because it may have side-effects, and the compiler doesn't know if it
by knorker 6y ago
> And refuses to compile further, because... it needs to import that package anyway? Why?
Because it may have side-effects, and the compiler doesn't know if it's the programmer's intention to import in order to get those side-effects, or if it's a mistake.
- dmitriid 6y agohttps://news.ycombinator.com/item?id=26565422 https://news.ycombinator.com/item?id=26565422