On Sun, Jul 26, 2020 at 1:05 PM <frederik.z...@gmail.com> wrote:

> Also, the name "is" doesn't follow the usual naming style of Go packages.
>>
>
> I'm not sure if there is a Go standard library package naming style other
> than "relatively short name".
>

"relatively short name" is less consistently applied than "be descriptive
of what's in there". Without the context of generics, what would you think
is in "is"? What's in "constraints"? What's in "quotedprintable"?


>
>
>> I tend to find such package names risky because they don't really say
>> what they contain.
>>
>
> The package doc comment can say that it contains constraints.
>
>
>> This means they become attractors of all kinds of different functionality
>> over time, where most of that functionality isn't belonging in there but in
>> separate packages. It is like declaring a package such as "util", "misc",
>> or "aux".
>>
>
> I'd trust the Go maintainers that they can resist to clutter it with
> unrelated things.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/f623ffc6-757c-44a7-bbcf-0e8b59efa714o%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/f623ffc6-757c-44a7-bbcf-0e8b59efa714o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAEkBMfH_q%2Bzqszfn%3D-8CjrTGJQ%2Bx1P%2BMjnDtitW4RObmvw2mjw%40mail.gmail.com.

Reply via email to