Live data from Hacker News

قلب: a non-ASCII programming language written in Arabic

nas.sr

291–300 of 657 posts

Re: قلب: a non-ASCII programming language written in Arabic

#291

This is at best useless, and at worst harmful. If we start using languages other than English for code, then we'll end up balkanizing the software world. People in humanities departments can talk about things like "Chinese Poetry" and "Continental Philosophy," but in STEM, we should be above that nonsense. I should be able to read code written anywhere in the world and understand what it does. This is the same reason…

That's exactly why all the HN'ers use JavaScript to write FORTRAN!

Re: قلب: a non-ASCII programming language written in Arabic

#292

Earlier quoted context omitted.

> There's a reason why e.g. air traffic control speaks english no matter the ethnicity (as per the ICAO standard). Yes. The reason is that air traffic control inherently requires people from different regions and languages to communicate quickly in life or death situations. Ease of being an air-traffic controller is not a primary motivating factor, and getting more diverse input isn't really a useful feature. On the…

> Programming in a foreign language is a pretty significant barrier. Not really. I learned programming when I was 14, far before learning English. How many English constructs do you have in a programming language? Func, var, for, if, else, import, etc. You can memorize those in no time, especially if you do that as you learn programming. Documentation and textbooks are a different thing, of course. But I learned prog…

>How many English constructs do you have in a programming language? Func, var, for, if, else, import, etc.

Func and var aren't even English words. Even an English speaker would have to at least get confirmation that their guess is right. You could replace them with arbitrary symbols and it wouldn't rally really change anything.

Re: قلب: a non-ASCII programming language written in Arabic

#295

> Code is written entirely in Arabic, highlighting cultural biases of computer science and challenging the assumptions we make about programming. There are lots of "cultural biases in computer science" -- in UI, neural network training, encodings, terms of service, etc. Of all of them, this is the least helpful, and the least important. It's like doing math in local notation, or translating latin/greek terms doctors…

> There's a reason why e.g. air traffic control speaks english no matter the ethnicity (as per the ICAO standard). Yes. The reason is that air traffic control inherently requires people from different regions and languages to communicate quickly in life or death situations. Ease of being an air-traffic controller is not a primary motivating factor, and getting more diverse input isn't really a useful feature. On the…

> Programming in a foreign language is a pretty significant barrier.

There are only a handful of English words you have to memorize. Music students have to memorize a handful of Italian words to follow written music. It hasn't been a problem.

Re: قلب: a non-ASCII programming language written in Arabic

#297
post #285

The truely universal language is math. There are however languages that do not use english words at all. e.g. APL or J. In these languages also localized programs in any language would be possible. For example quicksort in J: qs =: (($:@( #[)) ({~ ?@#)) ^: (1<#)

I thought love was the universal language.

Re: قلب: a non-ASCII programming language written in Arabic

#298
post #251

This is at best useless, and at worst harmful. If we start using languages other than English for code, then we'll end up balkanizing the software world. People in humanities departments can talk about things like "Chinese Poetry" and "Continental Philosophy," but in STEM, we should be above that nonsense. I should be able to read code written anywhere in the world and understand what it does. This is the same reason…

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…

Given that one in five person on the planet speaks Chinese as their first language, lack of “foreign” contribution will probably work out okay for them. Global contribution is nice but certainly not necessary. Whoever started the communities have the right to set the rules, using Chinese for (primary) documentation and discussion being one of them. If you don’t like it you can start your own.

Re: قلب: a non-ASCII programming language written in Arabic

#300
post #3

Oh, it's just an art project. We haven't yet seen a serious non-English programming language. One would have expected one in Chinese or Japanese by now. There was COBOL in French, once, with French words and word order, but it never caught on, even in Francophone countries.

OCaml is French but mysteriously it is neither in French nor particularly popular in France. France could be a global powerhouse of programming if only they could see what’s right under their noses.
Post reply on HN