Ha ha ha! Thanks! -----Original Message----- From: Dan Kortschak <dan.kortsc...@adelaide.edu.au> Date: Monday, November 7, 2016 at 4:23 PM To: Michael Jones <michael.jo...@gmail.com>, Edward Muller <edwar...@interlix.com>, Kaylen Wheeler <kfjwhee...@gmail.com>, golang-nuts <golang-nuts@googlegroups.com> Subject: Re: [go-nuts] Noob question: Pointers to interfaces
Thank you Michael for that. I have written a small package to help with this kind of uncertainty :) https://play.golang.org/p/vSnG-HGdrU On Mon, 2016-11-07 at 16:08 -0800, Michael Jones wrote: > Not precisely so…Interfaces, and type switches, and related > mechanisms are safe. Their type indeterminism is protected from the > program and their concretization is much like Schrodinger’s box…the > interface is any type until you look at it through a type switch or > type dereferencing…then it is a living concrete type of an expected > type or else, like the cat, your program is dead. -- 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.