Apparently @impl
can take true
or the name of a module.
Is there a reason it shouldn’t take false
? In my mind, it makes sense
to say, “This function has the name of an optional callback, but it’s
purely coincidental.”
Comments?
Hal
Apparently @impl
can take true
or the name of a module.
Is there a reason it shouldn’t take false
? In my mind, it makes sense
to say, “This function has the name of an optional callback, but it’s
purely coincidental.”
Comments?
Hal
Sounds like a bug waiting to happen then. ^.^;
There is that, yes.
But @impl
is optional… If it’s missing, is it missing because I
forgot it, or because I intentionally didn’t put it there?
Hal
In general it is optional. But if you used it once in your module, you have to use it everywhere, where you implement a callback.