i think part of the problem of incoherent one-liners is hard-to-discern conceptual grouping. Brackets do that in a logical sense, but visually, they just clutter up the place with extra symbols to deal with. Now that we all have 3D displays, the J editor could take advantage and display bracketed groups at different 3D levels. .. well .. as soon as we all get 3D displays. .. and we get a 3D J editor.
On 2011-08-16 22:17, Raul Miller wrote: > On Tue, Aug 16, 2011 at 5:12 PM, Mark Niemiec<[email protected]> wrote: >> One problem with APL (that also exists in J) is the temptation to write >> extremely long "one-liners" that encompass the entire solution to a >> problem within a single line of code. > > This is not unique to J and APL. I have seen analogous cases in other > languages (for example: C). > > The difference is that this kind of thing can be harder to recognize > in C -- if you understand a clause you might mistakenly think you > could understand the sentence, even when that sentence is hundreds of > lines long and does stuff that you have not even thought to look for. > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
