Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by badc0ffee

16 hours ago

I wouldn't say it enforces that the comment start with the name of the identifier. Maybe certain linter options enforce that?

In https://go.dev/doc/comment it seems to be a convention, but there are a couple of examples there where the don't follow it.

0 comments

badc0ffee

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities