I had to share this. Using J I was recently able to solve an n-dimensional mapping problem using a J array with a shape vector. The solution needed 4 operations. Moving this back to the C / C# world the other developer couldn't see that it was a complete solution. Instead he is now busy recreating this in an inefficient tree, or as I suggested, if it must be this way, go ahead and use a hash map. "This isn't the way you do it in .net", he said. "You need references and pointers", he continued. In his own words he wanted to go for a "zero intelligence solution"... but it seems to me more like, "zero intelligence but how can I use all the fancy new toys to make it more complex". Oh, and substitute "more complex" with "more maintainable" to be politically correct.
--Steven ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
