On Wed, Jul 5, 2017 at 11:39 AM Darren Hoo <darren....@gmail.com> wrote:

> In https://talks.golang.org/2015/tricks.slide#5 says int is type literal,
then you say int is named type.
>
> How can int be both type literal and named type while they are orthogonal?

A type literal can be a named type or an anonymous type. IOW, being
named/anonymous plays no role in using the type in a type literal. Hence
the orhogonality (not dichotomy).

-- 

-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