Thanks for the advice.

On Friday, October 27, 2017 at 6:57:39 AM UTC-7, Ian Lance Taylor wrote:
>
> On Fri, Oct 27, 2017 at 1:32 AM, go-question 
> <question....@gmail.com <javascript:>> wrote: 
> > 
> > I'm accustomed to avoiding reflection in other languages due to 
> performance 
> > concerns, is that unfounded with Go's reflect package? 
>
> If you can write your code without using the reflect package, that 
> will normally be faster.  If you have to use the reflect package, then 
> you have to use it.  Packages like fmt or encoding/json could not be 
> written without the reflect package.  So use reflect when you have to, 
> and don't use it when you don't have to. 
>
> Ian 
>

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