I do this (A;<B) customarily as well because I've been surprised too many
times doing it the simpler (usually equivalent) way.

It's like the good habit of doing comparisons in the order
"constant=expression", as in "if( 0==var)...", in C.

On 2/29/08, Matthew Brand <[EMAIL PROTECTED]> wrote:
>
> Yes, it does. I got into the habit of boxing the
> rightmost item in a list because of the difference
> between:
>
>
> (<10 20);(3 4;< 1 2)
>
>
> and
>
>
> (<10 20);<(3 4;< 1 2)
>
>
> But you are right,
>
> (<10 20);<(3 4; 1 2)
>
>
> gives identical results to
>
> (<10 20);<(3 4;< 1 2)
>
>
> It just seems like a good habit which avoids a
> potential mistake.
>
> If I remeber correctly, I think that HR in J for
> C-programmers discusses this point somewhere.
>
>
> --- [EMAIL PROTECTED] wrote:
>
> > Matthew Brand wrote:
> > >       (<10 20);<(3 4;< 1 2)
> >
> > The part          (3 4;< 1 2)   looks a bit
> > suspicous to me.
> > You know that     (3 4 ; 1 2)   yields just the
> > same?
> >
> >                                                       Martin
> >
> ----------------------------------------------------------------------
> > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> >
>
>
>
>
>       __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html
> ----------------------------------------------------------------------
>
> 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

Reply via email to