3 ms·
> a file called constants.go where random strings are defined far away from where they're use Wouldn't that be the purpose of such a file? One central location
by e12e 4y ago
> a file called constants.go where random strings are defined far away from where they're use
Wouldn't that be the purpose of such a file? One central location to adjust what some magic number is - then reference it (via eg lsp autocompletion) were used?