Hacker News new | ask | show | jobs
by lacker 2556 days ago
If you work for a while at a larger company that enforces a style guide, it starts to make total sense. If your company's style guide already insists that identifiers should be named with some convention that matches their visibility, then by making that part of the language, you are simplifying the system.

I would not be surprised if specifically the Google C++ style guide influenced this decision.

1 comments

Yes, but this forgets the fact that companies have different style guides.
That doesn’t exist for Go because of gofmt.
I don't think gofmt changes identifiers?