What's the address for?
On Mon, 18 Feb 2019 11:59:18 +0000, Stefan Ram wrote:
> When one prints a function, one might get something like:
> <function sum.operation at 0x0000000001E71BF8>
> . The participants of my basic course asked me what the address is
> for. I did not know.
> What's so important about the (presumed) address of a function that it
> is shown on every stringification of each function?
it is the internal id of the function - Not necessarily an address, that
is an implementation detail.
it is not intended for use within a program & has (almost) no practical
Microsoft Zen - Become one with the blue screen.
-- From a Slashdot.org post