logoalt Hacker News

arccylast Tuesday at 9:29 PM2 repliesview on HN

you don't Go is explicit about things.

maybe caps for export is ugly, it's not much different from how python hides with _


Replies

callclast Tuesday at 10:20 PM

I find both the golang uppercase lowercase naming scheme and python underscores for private (and __ for *extra* private) to be terrible design choices.

They are hidden functionality, a set of rules which must be remembered. “Make sure to do <weird trick> because that mean <X> in <PL>”

Leave identifier names alone. Packing extra info inside is unnecessary mental burden

show 3 replies
JodieBenitezlast Wednesday at 9:26 PM

"_" does not hide anything in Python. It's just a convention that says "use at your own risk".