> Hey, I never said how many lines it was, just that it was half a page
> (printed).  Honestly I don't recall, but it wasn't a lot of lines.
For
> the uninitiated, APL was a very compact language, using a lot of
special
> characters for operators and functions, so you could build a lot of
> function into a single line of code.  But that "line" might be
hundreds
> of characters long.

The key point is that the source line was interpreted from right to left
and the implicit "right argument" was the result of all operations up to
that point. 

It was a slick idea, but it led to some egregious coding techniques.
Early on I was led to believe the interpreter worked best that way.
Later after talking with some of the language developers from Santa
Teresa and doing a few measurements of my own I gave up on that and went
for readability. 

It didn't make a lick of difference in performance, but at least I could
figure out what I had done the day after I wrote it.

CC

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to