Re:Practical Go: Real-world advice for writing maintainable ...
by pcwalton on Thursday February 21, 2019 @02:48PM
(#19219940)
Why is that confusing? Local variables are, idiomatically, never capitalized in Go, so the distinction is obvious at a glance.
[ Parent
| on HN ]
Re:Practical Go: Real-world advice for writing maintainable ...
by akerl_ on Thursday February 21, 2019 @04:05PM
(#19220577)
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.