Live data from Hacker News

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

nas.sr

591–600 of 657 posts

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

#591

The 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…

For a long-term perspective, all world should converge on one medium of exchange and everyone must learn that. I'm not suggesting an English hegemony here. We need to avoid balkanization. Arabic language has subsumed many local languages to be dominant in that part of world. A Bedouin feels a cultural bias towards Arabia if he starts coding in this language. I'm from India and non-Hindi speaker; if coding is done in…

Is there a programming language that uses Esperanto?

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

#593
post #506
post #397

Earlier quoted context omitted.

Arabic is pretty rough because there's a lot of rules about how letters change based on the letters around them. Also it reverts me back to hunt and peck mode for a long time until I learn the new layout which will be a while if I'm just using it for programming.

> it reverts me back to hunt and peck mode for a long time I don't see how that's a problem with Arabic specifically. The same would happen if you switched to typing English in Dvorak.

It is different... I don't have to switch to DVORAK to program in Latin script based programming languages it's a choice. I would have to switch to an Arabic layout to program in قلب.

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

#594

Earlier quoted context omitted.

I will leave the interpretation of the comic as an exercise to the reader. (Partially because I'm unable to parse what it is you are trying to say in your last comment.)

Oh, you were unable to understand me, I can relate, it sure is inconvenient when someone uses words one doesn't understand.

Please do not take HN threads further into flamewar.

https://news.ycombinator.com/newsguidelines.html

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

#595

The 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…

It's possible but all the tools, the author of the language notes, have a 50 year head start in English with English language assumptions baked in, e.g. reading left to right vs right to left. What Qlb shows me is how hardcoded ASCII is in hardware and software.

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

#596
post #504
post #367

Earlier quoted context omitted.

All that said I think there are benefits to confining languages principally to Latin script or making some kind of direct transliteration utility to Latin script since it's the language for ~70% of the worlds population [0]. It's very hard to learn to read and even more importantly hard to type in a different script. [0] https://www.worldatlas.com/articles/the-world-s-most-popular...

If you can't even figure out how to switch Input Methods I don't think you're going to have good luck programming either. I also think you're conflating ASCII with the Latin Script. ASCII is easy to type and read, but anything outside of that range probably presents just as many burdens as say Tamil or Korean. The majority of Latin script languages however, are not limited to ASCII (for example é,ü, or €, which I iro…

> (for example é,ü, or €, which I ironically had to switch to a CJK Input method to type) making your "~70%" closer to whatever the population of native English speakers is.

True, you got me, I should have said just ASCII. For the most part though languages use the ASCII set + additional characters rather than replacing or removing characters entirely. so it's still 70%-ish not just English.

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

#597
post #312
post #229

Visual Basic for Applications has localized Versions. Here is an Example in german, so why not in arabic? Funktion VorherigerGeschaeftstag(dt Als Datum) Als Datum Dim wd as integer wd = Wochentag(dt) ' Wochentag liefert 1 für Sonntag, 2 für Montag usw. Prüfe Fall wd Fall 1 ' Auf Sonntag wird Datum vom letzten Freitag zurückgegeben VorherigerGeschaeftstag = dt - 2 Fall 2 ' Auf Montag wird Datum vom letzten Freitag zur…

Thanks, I hate it! It's like how every function in Excel is translated as well. `=SUMMEWENNS(…` Complete nonsense, it makes my eyes bleed.

For some reason I've always found programming language keywords translated to my native language extremely cringeworthy. I wonder if native English speakers get the same experience for mainstream programming languages or it is just a consequence of novelty.

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

#598
Might be an interesting problem to have a localizable programming language. As someone else mentioned, there are localized version of VB. And having worked with code from other languages, I know those developers are not using english for their variable names (or database schema names)

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

#599

Why hasn't anyone pointed out that, except for function and variable names, almost all of computer code is symbols which were pilfered from . . . arabic???

We're too busy feeling good about ourselves for pointing out English privilege

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

#600

Earlier quoted context omitted.

> it never caught on, even in Francophone countries I started programming at least 4 years before I started learning English. In my experience, not knowing what "if" means doesn't change anything because I never thought of code as prose. Whether it's called "if", "si", or "wenn", all that changes in my head is "what's the magic word that I have to insert before I can branch my code?". This, I believe, it's why locali…

Yes, it's only like 20 keywords to learn. I wish people who come up with all these inscrutable icons would realize that.

Could a localization be implemented in a header file with #defines to turn the localized keyword to the real one?
Post reply on HN