C has macros, and in a macro the pound sign (#) in front of a parameter name produced a string that contained the variable name. Handy for debugging. Okay, it’s more like compile time than runtime. I don’t suppose there is any way to do this in Go, is there?
#define debug§ printf( #p “: %d\n”, p)