3 ms·
The APL family languages (and their users) have always fascinated me somewhat because they seemingly go against the common wisdom of what it means for a program
by userbinator 9y ago
The APL family languages (and their users) have always fascinated me somewhat because they seemingly go against the common wisdom of what it means for a programming language or code written in it to be "readable" --- i.e. instead of the widespread notion that good code should be like English, it turns that concept around completely, treating a programming language like an actual language. APL is as foreign and unreadable to a typical Westerner as Chinese, but just like with natural langauges, you realise that there are many who have learned and are proficient at using them.
In other words, with many programming languages it's "the code is unreadable because it's not sufficiently English-like"; with APL, it's "the code is unreadable because you don't know the language."
- sammoorhouse 9y agoYou see similar cases being made with languages like q, the programming and query language for the kdb database. Arthur Whitney, the q-father, built an apl dialect called a+ at Morgan Stanley, which is still in use. RTL evaluation semantics aside, the argument I’ve heard for the terseness of the q language is that the interpreter is tiny so it fits inside a page. Okay, great, so use your words and kill the built-in webserver.
- tlack 9y ago.z.ph is extremely convenient. I'd be horrified if he removed it. I'm sure its just a line or two anyway. :)
- vbezhenar 9y agoEvery programming language is unreadable in that sense for those who're not proficient with English. I've learned programing much earlier than English, for example, so all those "begin"/"end"/"procedure"/etc were just cryptic words. I think that programming even influenced my English.
- hoosieree 9y agoNative English speakers can get a taste of this experience by using EmojiLang: https://github.com/anowell/emoji-lang https://github.com/anowell/emoji-lang