Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on Feb 21, 2019
|
parent
|
context
|
favorite
| on:
Practical Go: Real-world advice for writing mainta...
Why is that confusing? Local variables are, idiomatically, never capitalized in Go, so the distinction is obvious at a glance.
akerl_
on Feb 21, 2019
|
next
[–]
Sorry. To clarify: it's not that I'm confused by the distinction between capitalized vs uncapitalized, it's that visually, "config" and "Config" look quite similar at a glance, whereas "c" and "Config" are clearly visually distinct.
rat9988
on Feb 21, 2019
|
prev
[–]
As are unexported objects.
ben0x539
on Feb 21, 2019
|
parent
[–]
Yeah, getting to idiomatically capitalize names has been pressure to move them to their own package in the past, which feels awkward.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: