|
|
|
|
|
by jasonwatkinspdx
371 days ago
|
|
Iverson's Notation as a Tool for Thought is an argument in favor of the above. I don't think it's flatly wrong, but I am skeptical of the more strong forms of it. I think it's important to remember that APL was born of an era where having a keyboard dedicated to a single programming language was reasonable. I think there's a lot of middle ground between the more line noise syntax of say jsoftware, or a pure lisp style prefix notation. This is a little snippet from Stevan Apter, a k programmer that has an old school home page with a lot of array language curiosities: https://nsl.com/papers/kisntlisp.htm If you look at the pseudo code example at the end using words vs ascii glyphs, I think that's quite readable while also concise. It uses k's bracket notation to easily specify slices of nested arrays. Interestingly kxsoftware themselves went this route with q (Stevan's essay predates this I believe). There they kept nearly all the power of k but exposed it va a more approachable sql like syntax. |
|