News for hackers. Stuff that matters.
Re:Random walk in 2 lines of J by casey2 on Sunday October 16, 2022 @04:25PM (#33226901)
J would be much more palatable if it focused on integrating itself into an existing environment rather than doing its own thing.

For example, say I want to the digits of 1000!

echo '!1000' | j9 -c gives '_' which is the greatest number.

echo '!1000x' | j9 -c gives some of the digits. | rev, gives ...8393650(...)

echo '(9!:37) 0 _ 0 1 \n !1000x' | j9 -c gives all the digits. | rev, gives 0000000(...)

echo '!1000' | ivy works as expected, but has a noticeable startup time.

Of course, J and only J works just fine internally with the second form.

On the subject of modules: Don't. If your plot program is so great then I want to use it, outside J. If its main feature is interoperability with an operability-hamstrung language, then to quote another commenter, "Pass".

There are no comments on this comment yet.