4 ms·
The APL / J / K family of languages seems to be very strong with this effect. If it fits your problem domain, it's (apparently) so powerful that using anything
by pavlov 9y ago
The APL / J / K family of languages seems to be very strong with this effect. If it fits your problem domain, it's (apparently) so powerful that using anything else feels like a frustrating waste of time.
- tluyben2 9y agoYep, every time I have to program C# it is an annoyance; so much scrolling, so much text...
- beagle3 9y agoThere's more to it; The paradigm is so different and so effective at a large problem domain (which includes mostly mathy things and big data), and you can do similar things in many languages, although not quite as elegantly and succinctly. I faced two problems after K: 1. The whole software engineering world starts to look like a ridiculous house of cards; When you're used to seeing implementations of fast and efficient in memory databases in ~20 lines, or an npm-style package manger[1] in less than ~400 lines (comments included). Modern software engineering practices enable and encourage solutions that are inefficient in many respects. Maybe it cannot be better at a large enough scale, but it affects and infects the smaller scales as well. It is extremely frustrating. 2. Getting actual work done requires interfacing with the world, which isn't quite up to the k/q/apl standards of terseness and efficiency -- mostly "accidental complexity"[2]; So, e.g., if you have to have web presentation, or work on import/export, they dominate your effort due to accidental complexity that cannot be removed. Which is doubly frustrating. [0] http://nsl.com/k/t.k http://nsl.com/k/t.k [1] https://github.com/yang-guo/qp https://github.com/yang-guo/qp [2] https://www.quora.com/What-are-essential-and-accidental-complexity https://www.quora.com/What-are-essential-and-accidental-comp...
- segmondy 9y agoAPL/J/K are on their own league. I'm currently learning J, and the only language that has wowed me as much was Prolog and APL/J is even more profound. I won't say that I got ruined by Prolog, I got spoiled by it, but I carried over the good habits from it to other language. Sadly, I don't know that there's anything I can carry over from J. Perhaps it will improve and increase my ability to think of how to solve in parallel which is needed more and more with distributed computing/GPUs.
- gvb 9y agoConway's game of life in one line of APL: http://www.youtube.com/watch?gl=GB&hl=en-GB&v=a9xAKttWgP4&fmt=18 http://www.youtube.com/watch?gl=GB&hl=en-GB&v=a9xAKttWgP4&fm... HN discussion(2010) : https://news.ycombinator.com/item?id=1041500 https://news.ycombinator.com/item?id=1041500
- nickpsecurity 9y agoThose of you interested in APL/J/K might find Iverson's book Elementary Algebra interesting where he defines lots of operations in array notation. I dug up this PDF looking for one that was out of print: http://www.softwarepreservation.org/projects/apl/Papers/ElementaryAlgebra http://www.softwarepreservation.org/projects/apl/Papers/Elem...
- contingencies 9y agoTexts of that era remind us of the brilliance of Knuth. http://en.wikipedia.org/wiki/TeX http://en.wikipedia.org/wiki/TeX
- no-s 9y agooh wow, I have that book. I also have "calculus in a new key" and a few others. Yes, I was an APL child.