I assume that was directed to me.

Many of you will somehow ignore the next sentence, or
disbelieve my sincerity regarding it.  I fully
understand the reason and practicality for right to
left parsing in J, and have no desire to change it.

Having the ability to override the default parsing
order is an undisputed good thing.  Working with
parens is usually a needlessly complicated way to
override that parsing order.  The proposal is to allow
the programmer to use a single token ' ' in situations
that currently require 2 matching '()'.  Its hoped
that the option makes code clearer and easier to read
write and edit.


--- Ralph G Selfridge <[EMAIL PROTECTED]> wrote:

> Wa back when I was taught arithmetic I was told that
> a+b*c was not well
> defined because of the two ways of working,'
> 
> While Fortan seems to be one of the causes that say
> '*' first, then '+'
> the prospect of having to count (possibly) how many
> blanks are where rather
> horrifies me. Right to left has in some cases (the
> verb is not commutative)
> a real benefit. It is also simple and well defined.
> 
> Left to right could be used at some loss (IMO). What
> is the order in
> a^b^c  (and Fortran shifts to right to left here).
> 
> Leave it where it is, learning notation is part of
> mental growth.
> 
> RGS
>
----------------------------------------------------------------------
> For information about J forums see
> http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to