[go-nuts] Re: is this safe?

2017-11-20 Thread Calum Shaw-Mackay
I tend to be quite careful around removing items from an array/slice/list and not just in Go. Deletion of items is probably the most mutable thing you can do to a list - if the list is shared between goroutines, it could really mess things up. Rather than delete, I'd suggest a mark and copy

[go-nuts] UK Go Conference

2018-01-02 Thread Calum Shaw-Mackay
Apologies one and all if this appears a little off topic. My company is currently looking at training budgets etc for the coming year, and I was wondering if anyone who had gone to the UK Go Conference in August, could tell me what the ticket prices were for the conference. Thanks Calum --

Re: [go-nuts] Generics feedback

2020-06-28 Thread Calum Shaw-Mackay
used > to the syntax either way. (also, yes, this has been discussed before, ad > nauseam in fact :) ) > > On Sun, Jun 28, 2020 at 11:16 AM Calum Shaw-Mackay > mailto:calum.shawmac...@gmail.com>> wrote: > Hi all - > > I know that there’s have been numerous

[go-nuts] Generics feedback

2020-06-28 Thread Calum Shaw-Mackay
Hi all - I know that there’s have been numerous threads regarding the syntax for declaring generic types etc, and at it’s core Go is a language that can do a lot without syntactic sugar just for the sake of it, but sometimes that syntactic sugar helps in a fundamental way - legibility.