On Sunday, October 16, 2016 at 5:13:36 PM UTC-7, Ian Lance Taylor wrote:
>
> On Sun, Oct 16, 2016 at 3:34 PM, Liam <networ...@gmail.com <javascript:>> 
> wrote: 
> > 
> > On Sunday, October 16, 2016 at 2:56:42 PM UTC-7, Ian Lance Taylor wrote: 
> > 
> >> To argue that this should go into the standard library, look at some 
> >> corpus of Go code and find out how often it occurs.  If it occurs 
> >> fairly often, you've got a good case. 
> > 
> > 
> > Fairly often; i.e. as often as Replace or Trim*? In my experience it 
> passes 
> > that test. 
>
> This is something that can actually be measured. 
>

By doing grep 'append.*append' ? And '\[:.*len\(.*\).*\+[0-9]+.*\]' ?
Neither of these will be accurate.

Part of my point is that Insert operations are semantically obscured.

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