Doing a search for "array programming" I found the following link:

http://wiki.answers.com/Q/Can_you_write_an_algorithm_to_find_the_largest_number_of_a_given_array

While I don't want to take 'answers.com' too seriously, the code on that page 
reminded me of the recurring topic, "How readable is J?"

The J code to satisfy the task posed on that page is:

>./@,

Sure, this is "cryptic" in the sense that one must learn the components in 
order to make sense of it.  But once those four components are identified, the 
entirety carries a readability that contrasts very favorably with the code that 
appears on the webpage in question.  (I think I'll skip elaborating on the 
various tedious, cryptic, non-generalized, and distracting aspects of that 
code.)
 
--
Tracy B. Harms

            A good programming language is a conceptual universe
            for thinking about programming.
                            Alan Perlis

__________________________________________________
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