News for hackers. Stuff that matters.
Re:Jd by diarrhea on Monday April 04, 2022 @08:51AM (#30906016)

    s=. 0 2}.each _3 _1{<;._2 (;i{ccfiles),'/'
That is... not pretty.
Re:Jd by razetime on Monday April 04, 2022 @09:12AM (#30906218)
J isn't really made to be pretty. It's made to be terse and simple to read once given enough learning effort, and it's made to be a consistent keyboard typable notation.
Re:Jd by jollybean on Monday April 04, 2022 @10:00AM (#30906725)
It's meant to be efficient, not pretty.

It's catching on within the AI community because the syntax matches well to the kinds of matrix operations common in that field.

I think Nvidia's next chip is going to have a compiler for jlang.

Also, I think they are starting to use it as an 'entry level' language for kids, you know, like grade school.

Re:Jd by bryanrasmussen on Monday April 04, 2022 @09:02AM (#30906117)
I would say it is not knowledge leaking, most languages leak knowledge so that if you are not familiar with the language but you do know some other programming languages you can sort of figure out what they do.

But some languages do not leak knowledge in this way.

There is the concept of beauty in programming languages that the expression of an idea should be succinct. This J code might be beautiful, but unsure.

Re:Jd by 0des on Monday April 04, 2022 @09:07AM (#30906175)
You're going too meta. Does it make you happy to write it? Does it fulfill its purpose? If yes, don't worry how it looks, it is fine.
Re:Jd by vidarh on Monday April 04, 2022 @10:57AM (#30907391)
To some of us the "does it make you happy" and how it looks are intrinsically linked.

One of the things that makes me happy is to write beautiful code.

Re:Jd by 0des on Tuesday April 05, 2022 @02:03AM (#30915771)
Did you type this from a Mac?
Re:Jd by vidarh on Tuesday April 05, 2022 @04:17AM (#30916521)
No. A Mac doesn't make me happy.