On 6/20/07, Devon McCormick <[EMAIL PROTECTED]> wrote:


I am now working on a paper for APL2007 in which I hope to provide examples
of the clarity loopless
programming provides compared to the more conventional variety -

Here's one from Ch. 4 of "Learning J" -

+/ text = LF    NB. count the linefeeds in the string

It's amazing how close that is to english:

+/   NB. add up
text = LF  NB. the places where text is linefeed

Staggering.


--

J IRC Channel irc://irc.freenode.org/jsoftware
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to