Miller, Raul D wrote:
Here's how I see things:
(1) COCLASSPATH is not hidden from the user.
(2) COCLASSPATH can be manipulated dynamically just as easily as copath
(3) if it's understood that the copath of the class is what the
object will inherit, then the progammer should not manipulate
that copath in irrelevant ways.
COCLASSPATH is an internal noun for implementing inheritance and not meant for
end user. It is unfortunate that J (and APL?) cannot hide any names. As you
and Oleg mentioned, there are alternative way to implement inheritance,
preference for J's original implementation is just my own opinion.
regards,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm