Hi All, I've managed to write my first not-completely-trivial program in J. It implements an arc consistency algorithm ( http://en.wikipedia.org/wiki/Local_consistency#Arc_consistency). I would appreciate any comments regarding style, what I'm doing wrong in J or how to improve the code. I also have a couple of questions of my own:
1) how do I avoid @ especially once we remove explicit arguments? 2) how do I avoid constant boxing/unboxing due to fill (see arcsX)? 3) Is a boxed value always a pointer? One could imagine implementing 'ragged' arrays without pointers. 4) Is there a good way to have named variables (ie. avoid getx, gety)? 5) Why is a hook the default and not composition? Code at: http://pastebin.com/k4XuKfFi Cheers! Mike ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm