by cl3misch on 12/2/24, 6:40 AM with 78 comments
by nils-m-holm on 12/2/24, 4:29 PM
by dang on 12/2/24, 6:07 PM
KlongPy: Vectorized port of Klong array language - https://news.ycombinator.com/item?id=35400742 - April 2023 (8 comments)
Klong: a Simple Array Language - https://news.ycombinator.com/item?id=21854793 - Dec 2019 (73 comments)
Statistics with the array language Klong - https://news.ycombinator.com/item?id=15579024 - Oct 2017 (12 comments)
Klong – a simple array language - https://news.ycombinator.com/item?id=10586872 - Nov 2015 (21 comments)
by kstrauser on 12/2/24, 4:01 PM
Nice.
by faizshah on 12/2/24, 5:41 PM
The syntax has the same problem as perl in that you have to learn too many symbols that are hard to look up. And this combined with the tacit style makes it difficult to parse what the code is doing.
I think ruby went in the radically opposite direction in that it provides a similar feature set to perl with similar functional features but everything is human readable text. I feel like there’s room for a human readable version of J that relies less on syntactical sugar.
I do think the direction Klong has gone with the syntax is an improvement: https://t3x.org/klong/ambiguity.html
I’m curious if anyone has a go-to article/example of why an array language would be a good choice for a particular problem over other languages?
I know the second chapter of J for C programmers is kinda like that but I didn’t really find it convincing: https://www.jsoftware.com/help/jforc/culture_shock.htm#_Toc1...
by eismcc on 12/2/24, 5:34 PM
by amarcheschi on 12/2/24, 4:44 PM
by solidsnack9000 on 12/2/24, 3:33 PM
by incrudible on 12/2/24, 3:36 PM
by cturner on 12/2/24, 5:33 PM
by behnamoh on 12/2/24, 5:15 PM
by RestartKernel on 12/2/24, 10:56 PM
by MPSimmons on 12/2/24, 4:14 PM
?> sum::{+/x} :" sum + over / the array x
:monad
?> sum([1 2 3])
6
?> count::{#x}
:monad
?> count([1 2 3])
3
What?