3 ms·
> Constants are written in all-caps out of convention, not requirement I wonder if there even is a language where something like this IS required. Most of the
by qwerty456127 6y ago
> Constants are written in all-caps out of convention, not requirement
I wonder if there even is a language where something like this IS required. Most of the languages I know are case-sensitive yet the case doesn't mean anything specific in any of them, the case seemingly always is a matter of style.
- flohofwoe 6y agoAFAIK Go uses this for symbol visibility (e.g. symbols starting with an upper-case letter are exported, lower-case are private symbols).