Earlier quoted context omitted.
While it’s a good joke, in reality it does not compute. “Learning a new language” as in programming language, sits in the days-to-months range, while “learning a new language” as in Arabic takes months-to-years, so you’re building a much, much deeper chasm for others to cross and contribute, even though the source code remains English-based. You can already see this happening with some open source libraries coming fr…
How large is the chasm for a new programmer whose native language is Arabic?
قلب: a non-ASCII programming language written in Arabic
611–620 of 657 posts
Re: قلب: a non-ASCII programming language written in Arabic
#612Earlier quoted context omitted.
Very good point. While non-english programming languages haven't caught on I have experienced German documentation, comments and variable names in a codebase.
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 inv…
Re: قلب: a non-ASCII programming language written in Arabic
#613Earlier quoted context omitted.
Conditionals are not functions in Lisp. They are 'special forms' since they have to control the evaluation of their arguments and functions always evaluate all their arguments. So, if you want to translate a lisp into another language you have to resort to macros.
None and none, as what you need is to alias the symbols for most lisps.
Variables may also have to be done with macros, because you want an assignment to a translated variable name to appear in the original variable. Some Lisp dialects perhaps allow a variable cell to have a binding to two or more symbols which could do the same thing.
Re: قلب: a non-ASCII programming language written in Arabic
#614Earlier quoted context omitted.
Neither of these two links seem to go into much depth about the language itself. I'm very excited to read more. Do you know if there is a summary in English that explains how it works, and how Russian influenced the language?
I don't know of good English reference off the bat of my head, for obvious reasons. I'll try to find some, but in the meantime check out these code samples: https://gist.github.com/alexaandrov/739e16e1786ab2b3d6bc https://guesto.ru/1c-razrabotka-konfiguratsii-menedzher-zada... Etc
Сообщить("Hello Wold");
Re: قلب: a non-ASCII programming language written in Arabic
#615Earlier quoted context omitted.
I am sorry, what? I do not dismiss my own culture as inferior to the cultures of other countries. Not at all.
Clearly you dismiss other cultures as inferior to your own, though.
Re: قلب: a non-ASCII programming language written in Arabic
#616Earlier quoted context omitted.
> The tech community greatly benefits from settling on a lingua franca Maybe we see that in a few years, with everything moving to Chinese. > Imagine if everyone posted on StackExchange using their native tongue. Imagine users going to forums in their own language. People actually do that.
Probably the Chinese will embrace and extend the English language, the way the US did.
Re: قلب: a non-ASCII programming language written in Arabic
#617The negative reactions here claiming that everyone should use English are really disappointing, on hacker news of all places. Nobody is saying we need to rewrite the Linux kernel in Arabic. But a language such as this could be a great tool to introduce programming to people who would otherwise be turned away by the language barrier. What is important is not the keywords for, if else, etc but the concepts of logic and…
A world of seven billion people, many opportunities for genius.
I have been surprised that non-English programming languages have not become even more common.
In my father's time, a university student of engineering or chemistry was strongly encouraged to learn basic German, in order to keep up with the state of art as published in leading professional journals.
Maths students would still do well to learn to read Russian.
English need not be forever.
Re: قلب: a non-ASCII programming language written in Arabic
#618Earlier quoted context omitted.
It's not, but I don't get your point.
Your underlying point seems to be that the world would be better if we all spoke one language. I disagree, and to my mind programming is no different than linguistics in this regard.
Re: قلب: a non-ASCII programming language written in Arabic
#619Lisp has some strange keywords (CAR, CDR) that are ASCII but not exactly English. APL relies more on non-ASCII symbols.
AppleScript is one programming language that at one point had at least 3 customized dialects (English, French, Japanese.) For example:
"the first character of every word whose style is bold" "le premier caractère de tous les mots dont style est gras"[1]
Sadly modern macOS AppleScript seems to omit the non-English dialects (although the "professional" computer language-like syntax is now available via OSA, JavaScript, etc..)
[1] Cook et al., Applescript, HOPL III, 2006
Re: قلب: a non-ASCII programming language written in Arabic
#620Years later I read papers by linguists which described concepts in one language that were no expressible in another language. That too seemed pretty amazing to me since something like snow is snow right? But English typically has adjectives doing the heavy lifting to distinguish different kinds, but the Inuit people had even more words[1].
The idea that it might be possible to express computation differently in different languages, or perhaps even more effectively, seems really intriguing.
[1] "Yet Igor Krupnik, an anthropologist at the Smithsonian Arctic Studies Center in Washington, believes that Boas was careful to include only words representing meaningful distinctions. Taking the same care with their own work, Krupnik and others charted the vocabulary of about 10 Inuit and Yupik dialects and concluded that they indeed have many more words for snow than English does." -- https://www.washingtonpost.com/national/health-science/there...