4 ms·
I recommend people study APL / J / K for the same reason: It has the right primitives that make everything expressible as maps, folds, filters, scans, ranges, a
by beagle3 14y ago
I recommend people study APL / J / K for the same reason: It has the right primitives that make everything expressible as maps, folds, filters, scans, ranges, and stuff like that.
Even more so than Haskell.
It doesn't have monads and the kind of abstractions that lets you modify control flow semantics. It doesn't even have the facilities to build abstract data types - which makes you work with less-abstract data, and realize that although some abstraction is useful, most of what is practiced today is useless.
APL / J / K promote, at the same time, container abstraction, and concrete down-to-the-metal real work.
- tel 14y agoI've always wanted to dive into these guys. Is there a good introduction for fluent Haskell programmers somewhere?
- Someone 14y agoI haven't done anything in Haskell, but I doubt that makes much of a difference. Maybe more inspiration than introduction, but the "Game of Life in APL" video is a must see (http://uk.youtube.com/watch?v=a9xAKttWgP4&fmt=18 http://uk.youtube.com/watch?v=a9xAKttWgP4&fmt=18) The description on YouTube points to a "Game of Life" tutorial at http://tryapl.org http://tryapl.org. I haven't tried it, but it looks nice. For a more academic (as in "read about, don't play with") introduction, I found Iverson's "Notation as a Tool of Thought" (http://awards.acm.org/images/awards/140/articles/9147499.pdf http://awards.acm.org/images/awards/140/articles/9147499.pdf) a good introduction.
- gtani 14y agoI don't know how i feel about APL now, but I have some funny APL stories. One of my friends was the Jimi Hendrix of IBM APL2, he was amazing, unfortunately i can't tell the stories but when he learns haskell he'll be top notch. Another was the Dweezil Zappa of APL, he learned the language as a high school sophomore or junior from Iverson himself in Yorktown Heights.