J was designed as a variation on APL tailored to the needs of education:

(1) ascii characters only, for easier code sharing in email,
(2) a variety of control structures, much like traditional languages
(3) anonymous recursion
(4) increment, decrement and other small operations designed to
illustrate elementary concepts
(5) taylor series,  hypergeometric, jacobian, ...
(6) yet another way to express polynomials
(7) gerunds, for symbolic math

In terms of efficiency, it still highly favors high level thinking,
but it also offers a variety of techniques aimed at different styles
of computation.

Of course, in the mean time, education has gone a different direction,
and industry tends to favor social structures over literal concepts of
efficiency.

Or, at least, that is how it seems to be, to me.

Thanks,

-- 
Raul



On Sat, May 3, 2014 at 6:05 AM, Alex Giannakopoulos
<[email protected]> wrote:
> Damn, I just tried prefixing a whole bunch of monadic verbs with an
> integer, and it did indeed apply them N many times.  What's the point of
> the power function ^: then?  More importantly, where exactly is this
> documented?  J never stops surprising me, though sometimes I wonder if
> that's a good thing!
>
>
>
> On 30 April 2014 17:15, km <[email protected]> wrote:
>
>> Your func2 is a "hook", see the diagram at
>>
>> http://www.jsoftware.com/docs/help801/dictionary/dictf.htm
>>
>> You may also need to understand the dyadic case of m&v , see
>>
>> http://www.jsoftware.com/docs/help801/dictionary/d630n.htm
>>
>> --Kip Murray
>>
>> Sent from my iPad
>>
>> > On Apr 30, 2014, at 10:42 AM, Jon Hough <[email protected]> wrote:
>> >
>> > I can't understand why
>> > func1 =. 3&+ @: (2&-)
>> > func2 =. (3&+) (2&-)
>> >
>> > give different results as mondaic verbs.
>> > func1 5 gives 0, which is what I would expect.
>> > func2 5 gives 12, which I can't understand.
>> > I would like to know what the difference is between func1 and func2. It
>> is my understanding that for monadic verbs @: is optional, so doesn't add
>> anything to the meaning of the whole verb.
>> > Regards.
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to