4 ms·
Nitpicking, but Go is one of the only languages I’m aware of where identifier case is semantically relevant (to determine visibility). Given that fact it’s hard
by semiquaver 3y ago
Nitpicking, but Go is one of the only languages I’m aware of where identifier case is semantically relevant (to determine visibility). Given that fact it’s hard to say “nothing” enforces a case standard.
- rob74 3y agoAdding to that, the compiler doesn't enforce using "mixed caps", as the documentations calls it, but it's strongly recommended (https://go.dev/doc/effective_go#mixed-caps https://go.dev/doc/effective_go#mixed-caps)
- dezgeg 3y agoHaskell enforces that types and type constructors start with Uppercase, and that everything else starts with lowercase.