Re:Just Fucking Use Go
by lanstin on Friday May 08, 2026 @10:24AM
(#48063713)
Upper case symbols in a module are exported. Everything else should be lower case.
[ Parent
| on HN ]
Oh; in that case the lowly Javascript/typescript does this so much cleaner with the explicit `export` keyword. "Explicit is better than implicit."
Go language is explicit: identifiers starting with a capital letter are exported.
I find “locality of scope” to be extremely significant fact about a variable, and so I like seeing signs of it at one glance. The . as well for everything tied in a class and the go convention of shorter names for function locals also support this awarenes.