If I come across this again I might remember to let you know. J comes
pre-overloaded, (we call it dense) such as the forty-x uses of b. or
cuts. The issue I recall was for class dependence of operators.
Concretely, in Ken's J there would not be a locale specific definition
of + . The reasoning was something like this quote from
https://crypto.stanford.edu/~blynn/c/apl.html
Apart from decreased code size, overloading makes puzzling out a J
one-liner even more intellectually stimulating. However, we
sacrifice too much clarity. For each verb, we must first determine
whether if it is monadic or dyadic before we can discern its meaning.
I shun function overloading in C++. One is courting obfuscation when
a function’s meaning depends on the type and number of the inputs
and outputs.
{{+
'In this nightmare scenario + became a conjunction'
return.
v m
}}
Thanks for your investments in j,
Dave
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm