Skip to content

Comment on Comparing Go and Java, Part 2 – Performanceparent

Comments

> I'm also disappointed by the convention of capitalizing/lowercasing names to export them or not.

I think it's fine, personally. It's not overly obnoxious, it gives shape to the code, it avoids the redundancy of an explicit export list (although that also means it's harder to see at a glance what's exported from a module I guess) and it makes sense within Go's habit of mandating formatting, there's no reason not to leverage this mandate.

Coding conventions on steroids, if you will.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.