3 ms·
No, consistency within a language is good! https://en.wikipedia.org/wiki/APL_(programming_language)#Design https://en.wikipedia.org/wiki/APL_(programming_langu
by DonHopkins 5y ago
No, consistency within a language is good!
https://en.wikipedia.org/wiki/APL_(programming_language)#Design https://en.wikipedia.org/wiki/APL_(programming_language)#Des...
>All primitives are defined to have the same precedence, and always associate to the right. Thus, APL is read or best understood from right-to-left.
But consistency across all languages is too much to ask for, except when one language is purposefully imitating another language's syntax but subtly changing it, like PHP did to C. Or the way Perl and PHP imitated C's syntax for references with &, implying that they were somehow alike and could be used in similar ways, even though they're totally different foot guns.
At least APL and FORTH and LISP pick a lane (albeit different sides of the road), and stay in it.