On Wed, Nov 23, 2016 at 4:28 PM T L <tapir....@gmail.com> wrote: > Predeclared functions, including inlined ones, can be viewed as constants, which have not addresses. > We can compare variable to constant, right?
Wrong. Function pointers, specific Go implementation details aside for now, are real pointers which you can use in the program to call the function it points to. So making them "constants, which have not addresses" is not an option. -- -j -- 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.