2 ms·
You mean all the examples which do exist in all major programming languages, completely invalidating their entire point? Gotcha.
by moi2388 1y ago
You mean all the examples which do exist in all major programming languages, completely invalidating their entire point? Gotcha.
- n4r9 1y agoHow do you mean? I just tried typing var x = ٢ + ٢; into a C# project in Visual Studio and got a bunch of errors like Unexpected character '٢'
- moi2388 1y agoYou really don’t see the irony when you’re posting this on a website and it renders just fine?
- n4r9 1y agoAh, I think I see the confusion. In the linked article it talks about whether the code itself can include non-western digits. That's distinct from whether it can handle strings or render text containing non-western digits.
- moi2388 1y agohttps://en.m.wikipedia.org/wiki/Non-English-based_programming_languages https://en.m.wikipedia.org/wiki/Non-English-based_programmin...
- n4r9 1y agoIt's great that those languages exist. But that doesn't refute that mainstream PL design is linguistically narrow. Even the languages in that article are mostly monolingual, whereas the author is envisioning multilingual languages.