On Fri, Nov 30, 2018 at 12:26 AM Nigel Tao <nigel...@golang.org> wrote:

On Thu, Nov 29, 2018 at 9:20 PM Jan Mercl <0xj...@gmail.com> wrote:

> Well, there's already context.Context, hash.Hash, image.Image and
> time.Time in the standard library. Perhaps, in a parallel universe, we
> could have settled on the testing.T naming style, but that's all
> academic, at this point.

Those names are set in stone by the Go 1 compatibility guarantee. The
interesting, but hypothetical, question is, if possible and revisited now,
whether a better name would be chosen. It's not always possible, I guess.
Still, when it _is_, the more informative type name should be IMO
preferred. big.{Int,Float,Rat} was already mentioned, but it should be
added, that the math/big package started with only the big.Int type, not
big.Big or big.BigtInt type.


-- 

-j

-- 
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