On Saturday, August 27, 2016 at 11:40:20 AM UTC+8, Ian Lance Taylor wrote:
>
> On Fri, Aug 26, 2016 at 8:17 PM, T L <tapi...@gmail.com <javascript:>> 
> wrote: 
> > 
> > On Saturday, August 27, 2016 at 9:06:00 AM UTC+8, mura wrote: 
> >> 
> >> Hi, 
> >> 
> >> Generally speaking, you may find it a bit of struggling if you are 
> trying 
> >> to write Go code in an attempt to emulate *how* other languages can do, 
> or 
> >> to argue with the compiler about how a fresh learner would come to 
> think in 
> >> the first place. A tip for making the learning/adaption process 
> smoother is 
> >> to focus on *what* you want to achieve in the problem domain (instead 
> of 
> >> language domain, like fighting the compiler). 
> >> 
> >> Veteran gophers would be most helpful if you ask about the specific 
> >> functionalities or features you are trying to build. It's very likely 
> that 
> >> the language problems you encountered don't exist at all in other 
> >> well-explored approaches. 
> >> 
> > 
> > And it is very appreciated if you can show the behind reason for "why 
> can't 
> > []Age be converted into []int". 
>
> You have gotten several different answers to that question. 
>
> What kind of answer would you find satisfactory? 
>
> Ian 
>


No one have answered what is the behind reason for "why can't []Age be 
converted into []int" yet.

I don't think "rules disallow it, so it can't" is a good answer.
 

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