Thanks, Oleg. This must be the tenth time I've discovered (belatedly) you've written a script for which I've felt the need. I ought to be more proactive over this. :)
I'm acutely aware the profuse comments proclaim my inexperience. I need them to understand my own code, when I come to read it a week later. (Old brain drying out.) I admire uncommented code which manages to state briefly but clearly what it does, and does what it says, not relying on side-effects. But I don't know yet how to achieve that in J. Partly because J still does not "speak" to me. But it's beginning to. Ian On Wed, Jan 20, 2010 at 7:42 AM, Oleg Kobchenko <[email protected]> wrote: > The self-deprecating downplay of the project is understandable-- > to guard criticism--for a first script in a new language. > Though in reality, the choice of task--successfully executed > for an entry level--is telling*. Introspection is a sign of > an advanced stage of awareness. > > Simula might have been a first OO language, and SketchPad > a first GUI, but only in SmallTalk with Class Browser those > technologies made a revolution. > > Cracking .NET wouldn't have been the same without Reflector. > > So, hat tip. > > > _________ > *) as is profuse commenting, typical of a language > rookie, which goes away with more confidence. > > > > >> From: Ian Clark <[email protected]> >> >> Yes Kenneth, that's exactly what I was expecting. >> >> Oh well... you have to write these things yourself in order to >> understand what other people have done. >> >> Never mind. All good practice. >> >> Ian >> >> >> >> On Tue, Jan 19, 2010 at 6:22 PM, Lettow, Kenneth wrote: >> > Ian Clark wrote: >> > >> > "I can't believe nobody's written something like this already, only >> > better. >> > Perhaps there's an item in the J menu I've overlooked...?" >> > >> > Maybe this is what you are looking for? >> > >> > load 'gui/util/cobrowse' >> > >> > >> > -----Original Message----- >> > From: [email protected] >> > [mailto:[email protected]] On Behalf Of Ian Clark >> > Sent: Tuesday, January 19, 2010 12:54 PM >> > To: Programming forum >> > Subject: [Jprogramming] LoBrow: browser for locale contents >> > >> > I've created a wiki page which newbies like me might find useful. It's >> > a simple-minded browser to inspect the contents of any given locale. I >> > guess it recovers for me the sort of way I've been working with APL. >> > >> > http://www.jsoftware.com/jwiki/IanClark/LoBrow >> > >> > I've not provided a downloadable script yet. Just copy/paste "the >> > code" section into a fresh .ijs window and try it out. It's pretty >> > self-explanatory and won't munge anything valuable. It doesn't save >> > any files, though it does create new scripts for you to save. >> > >> > Since this is my first "deliverable" project in J, I'd welcome >> > comments from old-hands on where my code could be improved. See >> > Observations and Discussion right at the bottom, for starters. I can't >> > believe nobody's written something like this already, only better. >> > Perhaps there's an item in the J menu I've overlooked...? >> > >> > Ian Clark >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> > >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
