3 ms·
> Does anyone know whether this kind of reasoning (i.e. "This is more intelligible to me because my natural language does it as well") has ever been actually re
by LeafStorm 15y ago
> Does anyone know whether this kind of reasoning (i.e. "This is more intelligible to me because my natural language does it as well") has ever been actually researched?
Researched? Not that I know of. But I know that Larry Wall tried to do this with Perl (i.e. the @array vs. $array[item] distinction as a parallel to the use of plurals in natural language). I'm not sure it really worked out well. Part of it could be due to bad interactions with all the punctuation and Huffman coding, but I think another reason is that programmers expect a more regular and mathematical notation from a programming language, rather than a linguistic notation.
> As far as I can recall, this and Perl's Lingua::tlhInganHol::yIghun are the only languages I've seen that really have postfix functions. I could be wrong.
PostScript has postfix functions, due to its nature as a stack-oriented language.