@sneak unused imports have an analysis cost which increase build times when committed into a code base. Have that happen over a large group and you get a significant build speed penalty eventually. My work put in a git hook to force delete unused imports for that exact reason.
Golang optimized for build speed when developing with a large amount of devs in one project. No unused vars and imports is a very common mandatory lint.
@sneak unused imports have an analysis cost which increase build times when committed into a code base. Have that happen over a large group and you get a significant build speed penalty eventually. My work put in a git hook to force delete unused imports for that exact reason.
Golang optimized for build speed when developing with a large amount of devs in one project. No unused vars and imports is a very common mandatory lint.