The short answer is: don't do that. If you want to use single letter names for throw-away, local temp variables, that's fine but the point of a global is that it has some importance and ubiquity.
I'm a big fan of terseness - e.g. http://www.jsoftware.com/jwiki/NYCJUG/2009-08-11#TerserisBetter - but would it really kill you to add a letter or two? Not to mention the extra difficulty of searching for single-letter names... On Thu, Jan 19, 2012 at 9:50 AM, Viktor Cerovski <viktor.cerov...@gmail.com>wrote: > > > Raul Miller-4 wrote: > > > > I wrote up a wiki essay (or perhaps a rant) on some issues that come > > up in the context of parsing J: > > http://www.jsoftware.com/jwiki/Raul%20Miller/ParsingJ > > > > My suggestions there may not be ideal, but I sort of like them. > > > > -- > > Raul > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > Leaving the question of style aside, there is one formal problem > with the convention: how would one interpret names consisting of > a single capital letter (with or without trailing numbers): as nouns > or adverbs? Both naming schemes make sense. For instance: > > I =: 1 > I1 =: /("1) > I2 =: /("2) > E =: &.> > > Also, some might prefer additionally to have something like: > > e=:1x1 > > etc. > -- > View this message in context: > http://old.nabble.com/wiki-essay-tp33157128s24193p33168317.html > Sent from the J Programming mailing list archive at Nabble.com. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm