On Saturday, December 23, 2017 at 11:06:35 AM UTC-8, Dave Cheney wrote:
>
> On Sunday, 24 December 2017 05:18:14 UTC+11, Tim Peoples  wrote: 
> > I've noticed a somewhat common practice of people naming their github 
> repositories with a "go-" prefix (and then, of course, subsequently 
> dropping the prefix in the actual package name) -- yet a similar naming 
> scheme doesn't seem to be commonplace among many other languages. 
> > 
>
> I believe the zeitgeist originated with JavaScript. 
>
> > 
> > Is this recommended somewhere?  If so, where? 
> > 
>
> It is not recommended for your package’s  repository or directory name to 
> differ from its  package declaration. 
>
> > 
> > Conversely, is it explicitly discouraged? 
>
> Yes, for the reasons above, it’s confusing, also it’s redudant for the 
> same reasons go programmers do not start interface declarations with a 
> capital I. 
>
>
Thanks Dave, that's exactly what I'd assumed (but didn't want to overly 
expose my original bias).

I only asked because every time I see this, it tends to make me wince (and 
I often end up forking the repo just so I can rename it).

I suppose the real question is, "How do we get people to stop?" :D

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to