From: ts Date: 2002-12-15T02:30:02+09:00 Subject: Re: Is it wise to extend Matrix? >>>>> "a" == ahoward writes: a> i've been out of this thread for a while, but i wanted to back up a bit and a> ask _again_ what people find so fundementally wrong with the paradigm of a> creating classes as in : Nothing wrong. a> classes which do this are certainly better *candidates* for subclassing. in a> the Marix case, it may or may not be the best idea due to the associative a> properties of some of operators but that is not the point. There is where you are wrong, it exist some case where it's inappropriate to always make this choice. a> interesting behaviour. coding Matrix in this way would not of changed the way a> it functions *and* would have allowed subclassing for the irreverant. No it will just give the possibility to have strange result :-)), like A + Array ==> A Array + A ==> Array a> can get the job at hand done quickly in the fewest lines of code; Yes, but nobody can predict the class of the result :-)) There are very good reasons for the actual behavior of Array. Guy Decoux