Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Haskell enforces that types and type constructors start with Uppercase, and that everything else starts with lowercase.


Adding 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: