2 ms·
> Go source code uses MixedCaps or mixedCaps (camel case) rather than underscores (snake case) when writing multi-word names. > This applies even when it break
by keybored 4y ago
> Go source code uses MixedCaps or mixedCaps (camel case) rather than underscores (snake case) when writing multi-word names.
> This applies even when it breaks conventions in other languages. For example, a constant is MaxLength (not MAX_LENGTH) if exported and maxLength (not max_length) if unexported.
Good. All-caps for constants would make no sense in a language like Go.