That said: int(boolvalue) could mean 0 for false and 1 otherwise bool(intvalue) could mean false for 0 an true otherwise
quite a useful notion On Mon, Sep 11, 2017 at 5:12 PM, Shawn Milochik <shawn.m...@gmail.com> wrote: > Go is more explicit than C. Mistakes won't compile. Perfectly valid syntax > in C could be a subtle logic bug; Go tries to avoid these. > > -- > 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. > -- Michael T. Jones michael.jo...@gmail.com -- 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.