Re:قلب: a non-ASCII programming language written in Arabic
by jamil7 on Friday October 25, 2019 @06:36AM
(#21353573)
Very good point. While non-english programming languages haven't caught on I have experienced German documentation, comments and variable names in a codebase.
[ Parent
| on HN ]
Re:قلب: a non-ASCII programming language written in Arabic
by azernik on Friday October 25, 2019 @06:45AM
(#21353644)
One of the more well-known examples, and one that made me double-take when I saw it - from PHP 3 onwards, when a pair of Israelis rewrote the parser, a common and confusing syntax error was "unexpected T_PAAMAYIM_NEKUDOTAYIM". Which is Hebrew for T_DOUBLE_COLON.
In PHP 5.4, they helped the situation somewhat by changing the error message to "unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM)" - I suspect national pride was involved in their refusal to completely remove the internal token name from the error message.