News for hackers. Stuff that matters.
Re:Google’s Go Style Guide by hoosieree on Friday November 18, 2022 @09:27AM (#33655164)
The more I think about this rule the more I like it.

One thing I would add is if you're writing a library, think of the people using it. Are they going to curse you every time they have to write YourModule.ExtremelyVerboseMethodNameWhyOhWhyIsItSoLong, even if it only appears once in your module?

As soon as you start sharing code, you can't know how many times a name will appear. So err on the side of brevity, for our sakes.

There are no comments on this comment yet.