3 ms·
> So e.g. in Go an unused import is an error. Which is an incredibly annoying thing, because you can't easily just comment out some code and do a quick build t
by wtetzner 6y ago
> So e.g. in Go an unused import is an error.
Which is an incredibly annoying thing, because you can't easily just comment out some code and do a quick build to test something. You are forced to cleanup imports/unused variables every time you want to build something.
- dilap 6y agoTradeoffs :-) (Also, if you use something like goimports, it's pretty much automatic.)