On the other hand, faster and shorter does not always mean logical and
consistent.

Conj @ preserves the rank and @: kills it, so @ is more basic.
Using the inflection shows you mean something special: speed.


Oleg


On Sep 5, 2007, at 12:52 PM, "Raul Miller" <[EMAIL PROTECTED]> wrote:

It seems to me that a philosophy of J might be better served if
@ and @: had their meanings swapped.  Likewise for & and &:

This is because (except in cases altered by special code), @:
tends to be faster than @ (and I believe the same holds for
& and &:).  The main corresponding philosophy is that shorter
code should tend to be faster than longer code.  A secondary
philosophy is that the trailing : would a visual pun suggesting
treatment of small pieces.

On the flip side, of course, is the philosophy of supporting
existing users -- if this were changed, all sorts of code would
subtly break.  A related issue is that there may be a variety of
other "would be nice, or at least interesting" changes of a
similar character which are currently unidentified.

I'm not necessarily going anywhere with this -- I classify
this issue in the "worth noting, but not an action item" bin.
It's been on my mind, so I figured I'd write this down.

But is there an organized collection of these nits somewhere?

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to